aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
Commit message (Collapse)AuthorAgeFilesLines
...
| * Since dl() is deprecated and disabled by default in PHP 5.3, calling it will ↵Andreas Fischer2009-12-041-1/+2
| | | | | | | | | | | | result in a fatal error for an undefined function and because of the error suppression in a blank page. Checking if dl() exists should allow most boards to continue right away. - Bug #54665 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10298 89ea8834-ac86-4346-8a33-228a782c2dd0
| * PHP 5.3 compatibility.Marek A. R2008-08-151-1/+1
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8760 89ea8834-ac86-4346-8a33-228a782c2dd0
| * #19955Meik Sievertsen2008-01-291-2/+6
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8348 89ea8834-ac86-4346-8a33-228a782c2dd0
* | [feature/request-class] Remove duplicate class loader from common.phpIgor Wiedler2010-10-131-3/+0
| | | | | | | | PHPBB3-9716
* | [feature/request-class] Adjust some trailing newlinesIgor Wiedler2010-09-271-1/+1
| | | | | | | | PHPBB3-9716
* | [feature/request-class] Refactor request classes to use autoloadingIgor Wiedler2010-09-171-7/+8
| | | | | | | | | | | | | | | | | | All class names have been adjusted to use a phpbb_request prefix, allowing them to be autoloaded. Also introduces some improvements to autoloading in general. PHPBB3-9716
* | [feature/request-class] Request class test now uses a type cast helper mock.Nils Adermann2010-09-171-2/+4
| | | | | | | | | | | | | | | | Removed the dependency of the request class test on having an actual phpbb_type_cast_helper instance, by replacing it with an object mocking the phpbb_type_cast_helper_interface. PHPBB3-9716
* | [feature/request-class] Instantiate a global request class instance.Nils Adermann2010-09-171-1/+8
| | | | | | | | | | | | | | | | | | It should at all cost be avoided to rely on this global variable. Instead either use the request_var method (deprecated) or pass the instance to your function as a parameter or to your object as a contructor argument or through a setter function. PHPBB3-9716
* | [feature/auto-loading] Added autoloader to common and ensured compatabilityNils Adermann2010-07-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The autoloader is registered in install without caching, since caching is set up during installation. This provides the same functionality, performance is not a concern during installation anyway. In common.php the autoloader is instantiated after the cache is initialised and is started with the standard cache backend used for other cached values. A few places in the code using class_exists had to be updated to explicitly avoid autoloading, since they are used to check whether a file needs to be included which does not (yet) follow the naming scheme the autoloader follows. PHPBB3-9682
* | merge changes from 3.0.x branchMeik Sievertsen2009-12-161-3/+8
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@10342 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Copy 3.0.x branch to trunkMeik Sievertsen2009-10-041-0/+227
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@10211 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Move trunk/phpBB to old_trunk/phpBB Meik Sievertsen2009-10-041-105/+0
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@10210 89ea8834-ac86-4346-8a33-228a782c2dd0
* | i am not sure if people will like the config layout i test here... it ↵Meik Sievertsen2009-01-201-5/+5
| | | | | | | | | | | | requires the framework at least being present git-svn-id: file:///svn/phpbb/trunk@9281 89ea8834-ac86-4346-8a33-228a782c2dd0
* | erm, revert last commit and add relevant comment. ;) This actually allows us ↵Meik Sievertsen2009-01-131-2/+2
| | | | | | | | | | | | to do far more... for example call a config file which was non-existent before. git-svn-id: file:///svn/phpbb/trunk@9261 89ea8834-ac86-4346-8a33-228a782c2dd0
* | in case we do: include(bootstrap) ... include(common)Meik Sievertsen2009-01-131-1/+1
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@9260 89ea8834-ac86-4346-8a33-228a782c2dd0
* | fix some functionsMeik Sievertsen2008-12-301-3/+3
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@9245 89ea8834-ac86-4346-8a33-228a782c2dd0
* | implement new phpbb::$acm object, replacing $cache globalMeik Sievertsen2008-12-281-1/+1
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@9240 89ea8834-ac86-4346-8a33-228a782c2dd0
* | document plugin-supportMeik Sievertsen2008-12-281-1/+1
| | | | | | | | | | | | | | move language path declaration to object instantiation git-svn-id: file:///svn/phpbb/trunk@9239 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Add core bootstrap. Also change common.php to use it.Meik Sievertsen2008-12-261-153/+36
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@9231 89ea8834-ac86-4346-8a33-228a782c2dd0
* | add nils' request and super globals classMeik Sievertsen2008-12-251-1/+1
| | | | | | | | | | | | rename request:: to phpbb_request:: git-svn-id: file:///svn/phpbb/trunk@9230 89ea8834-ac86-4346-8a33-228a782c2dd0
* | change cache:: to phpbb_cache::Meik Sievertsen2008-12-241-10/+1
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@9226 89ea8834-ac86-4346-8a33-228a782c2dd0
* | - updated all code to use the request class instead of any direct access toNils Adermann2008-11-241-0/+3
| | | | | | | | | | | | | | | | | | super globals - disabled super globals in common.php. See commit r9101 for more information - cleaned up/simplified a few lines along the way. git-svn-id: file:///svn/phpbb/trunk@9102 89ea8834-ac86-4346-8a33-228a782c2dd0
* | PHP5.3 compatibility.Marek A. R2008-08-151-1/+1
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@8759 89ea8834-ac86-4346-8a33-228a782c2dd0
* | ok... i hope i haven't messed too much with the code and everything is still ↵Meik Sievertsen2008-05-291-17/+17
| | | | | | | | | | | | | | | | | | | | working. Changes: - Ascraeus now uses constants for the phpbb root path and the php extension. This ensures more security for external applications and modifications (no more overwriting of root path and extension possible through insecure mods and register globals enabled) as well as no more globalizing needed. - A second change implemented here is an additional short-hand-notation for append_sid(). It is allowed to omit the root path and extension now (for example calling append_sid('memberlist')) - in this case the root path and extension get added automatically. The hook is called after these are added. git-svn-id: file:///svn/phpbb/trunk@8572 89ea8834-ac86-4346-8a33-228a782c2dd0
* | git-svn-id: file:///svn/phpbb/trunk@8569 89ea8834-ac86-4346-8a33-228a782c2dd0Meik Sievertsen2008-05-261-1/+1
| |
* | not sure what the implications of this quick fix are, especially when ↵Nils Adermann2008-03-241-0/+1
| | | | | | | | | | | | upgrading from earlier versions we either have to use a different timezone depending on the server or fix timestamps on update, though shouldn't they be gmt already? git-svn-id: file:///svn/phpbb/trunk@8467 89ea8834-ac86-4346-8a33-228a782c2dd0
* | - add error_reporting to style.php (merge from r8464)Nils Adermann2008-03-241-1/+0
| | | | | | | | | | | | | | - let the error handler deal with E_STRICT (same as E_WARNING/E_NOTICE) and E_RECOVERABLE_ERROR (same as E_USER_ERROR) git-svn-id: file:///svn/phpbb/trunk@8466 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Merging revisions #r8346, #r8347 and #r8348Meik Sievertsen2008-01-291-2/+6
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@8349 89ea8834-ac86-4346-8a33-228a782c2dd0
* | uncomment the second one for ultra debugging power :PDavid M2008-01-031-1/+2
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@8296 89ea8834-ac86-4346-8a33-228a782c2dd0
* | oh boy...David M2008-01-031-4/+4
|/ | | | | | | - Migrate code base to PHP 5.1+ git-svn-id: file:///svn/phpbb/trunk@8295 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Constant PHPBB_DB_NEW_LINK introduced which can be used to force phpBB to ↵Nils Adermann2007-11-181-1/+1
| | | | | | | | | | create a new database connection instead of reusing an existing one if the dbms supports it [Bug #14927] - Automatic URL parsing no longer allows dots in the schema but can parse URLs starting after a dot [Bug #15110] - Dynamic width for birthday select boxes [Bug #15149] git-svn-id: file:///svn/phpbb/trunk@8246 89ea8834-ac86-4346-8a33-228a782c2dd0
* #i42Meik Sievertsen2007-10-041-0/+3
| | | | | | | new password hashing mechanism for storing passwords git-svn-id: file:///svn/phpbb/trunk@8139 89ea8834-ac86-4346-8a33-228a782c2dd0
* deregister globals to install tooMeik Sievertsen2007-10-041-3/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@8130 89ea8834-ac86-4346-8a33-228a782c2dd0
* #i101Nils Adermann2007-10-031-2/+20
| | | | git-svn-id: file:///svn/phpbb/trunk@8127 89ea8834-ac86-4346-8a33-228a782c2dd0
* #i112Meik Sievertsen2007-10-011-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8116 89ea8834-ac86-4346-8a33-228a782c2dd0
* allow new installations...Meik Sievertsen2007-09-231-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8102 89ea8834-ac86-4346-8a33-228a782c2dd0
* new hook system (do not get it confused with events or plugins please)Meik Sievertsen2007-09-221-0/+9
| | | | | | | - introducing two new hookable functions too git-svn-id: file:///svn/phpbb/trunk@8100 89ea8834-ac86-4346-8a33-228a782c2dd0
* php, a strange language. :oMeik Sievertsen2007-08-301-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8073 89ea8834-ac86-4346-8a33-228a782c2dd0
* necessary changes...Meik Sievertsen2007-08-301-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8072 89ea8834-ac86-4346-8a33-228a782c2dd0
* Some changes... non-invasive...Meik Sievertsen2007-08-131-10/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8025 89ea8834-ac86-4346-8a33-228a782c2dd0
* - clean up mssql and mssql_odbc, mssql now uses a different method of ↵David M2007-02-191-1/+1
| | | | | | | | | | | | | dealing with IDENTITY - clean up firebird, I will consider changing it to use fetch array instead of fetch object. it's identity code already uses this method as of right... now :D - fix a tiny bug in MySQL's driver (remember to pass the connect id to all DBAL functions) - add new_link as a new param for sql_connect. This allows you to make connections that are not dependant on each other. This is done for our friends mysql, mssql, postgresql and oracle. Now for everybody else.. (I said this was clever ;) MySQLi and SQLite should always spawn a new connection when you call it while mssql_odbc and firebird both will create new links if you give them different params (different creds) than the previous connection(s). Thus we can always promise new links :D - fixed a bug in the converter - cleaned up the dbal a little git-svn-id: file:///svn/phpbb/trunk@7009 89ea8834-ac86-4346-8a33-228a782c2dd0
* - using the PHP_VERSION constant is fasterDavid M2006-12-171-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6779 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixing a bunch of bugsMeik Sievertsen2006-11-211-7/+0
| | | | | | | | - moved the install trigger error to sessions and also disabled it for those having DEBUG_EXTRA enabled. i hope not having introduced too many new bugs. git-svn-id: file:///svn/phpbb/trunk@6628 89ea8834-ac86-4346-8a33-228a782c2dd0
* *** empty log message ***David M2006-11-121-1/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@6578 89ea8834-ac86-4346-8a33-228a782c2dd0
* - no more encoding mixture, say hello to UTF-8 (I'll add a validation ↵Nils Adermann2006-09-171-0/+1
| | | | | | | | | | | | solution for PHP 4.3.3/4 ASAP) [side effect: fixes Bug #3762] - take local server time into consideration for birthday/age calculation - faster active topic search - allow changing active topic time frame [Bug #4150] - reload stylesheet on language change [Bug #4222] git-svn-id: file:///svn/phpbb/trunk@6380 89ea8834-ac86-4346-8a33-228a782c2dd0
* - getcwd replacementDavid M2006-08-171-1/+9
| | | | | | | - realpath stuff thanks to Chris git-svn-id: file:///svn/phpbb/trunk@6296 89ea8834-ac86-4346-8a33-228a782c2dd0
* Allow ACP access if install/ is present and display the generic board ↵Graham Eames2006-08-121-3/+4
| | | | | | disabled message otherwise so that a user does not know the reason for it being disabled git-svn-id: file:///svn/phpbb/trunk@6276 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed: a double slash appears in the installer URL if you go to the board ↵Ludovic Arnaud2006-07-231-1/+1
| | | | | | and config.php is missing git-svn-id: file:///svn/phpbb/trunk@6205 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed: if phpBB isn't installed, it redirects to ↵Ludovic Arnaud2006-07-231-3/+3
| | | | | | | | | http://host.tld\/install/index.php on my Windows dev server Changed: instead of undoubling double slashes, we replace any number of consecutive backslashes and forward slashes with a single slash git-svn-id: file:///svn/phpbb/trunk@6204 89ea8834-ac86-4346-8a33-228a782c2dd0
* Appears that the redirect in common.php didn't work on all setups we tried, ↵Graham Eames2006-07-071-3/+3
| | | | | | so swapping it for some new code which does git-svn-id: file:///svn/phpbb/trunk@6155 89ea8834-ac86-4346-8a33-228a782c2dd0