aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/10848] Move include up.Oleg Pudeyev2012-10-171-1/+2
| | | | PHPBB3-10848
* [ticket/10848] Add phpbb_ prefix.Oleg Pudeyev2012-10-171-1/+1
| | | | PHPBB3-10848
* [ticket/10848] Redirect from adm to installer correctly.Oleg Pudeyev2012-10-171-1/+5
| | | | PHPBB3-10848
* [ticket/10218] Moving global deregistration, etc. to startup.phpYuriy Rusko2011-06-141-106/+1
| | | | | | | Because startup.php deletes all variables, the constants in database_update are used to preserve settings at the top. PHPBB3-10218
* [ticket/10149] Skip foreach over GLOBALS cookie values if cookie is scalarNils Adermann2011-06-031-1/+6
| | | | PHPBB3-10149
* [ticket/10126] Use binary "and not" instead of binary "xor" in error_reporting.Andreas Fischer2011-05-111-1/+1
| | | | | | Make what we want to achieve clear by using "and not" instead of "xor". PHPBB3-10126
* [ticket/10046] No longer change $phpbb_root_path to an absolute path for cron.Andreas Fischer2011-03-121-5/+0
| | | | | | | This is no longer required because we no longer call register_shutdown_function() which made this change necessary. PHPBB3-10046
* [ticket/9830] Redirect to install directly when config.php does not exist.Igor Wiedler2010-09-161-4/+2
| | | | PHPBB3-9830
* PHP 5.3 compatibility: Disable E_DEPRECATED on startup to keep ↵Nils Adermann2009-12-061-2/+6
| | | | | | set_magic_quotes_runtime(0) quiet. [Bug #54495] git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10299 89ea8834-ac86-4346-8a33-228a782c2dd0
* 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
* - 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
* Change redirection logic to match the RFC better in those cases before ↵Graham Eames2006-07-071-1/+27
| | | | | | redirect() is available to us git-svn-id: file:///svn/phpbb/trunk@6154 89ea8834-ac86-4346-8a33-228a782c2dd0
* hey dev team mates, here are the brand new beta checkins (as promised). ↵Meik Sievertsen2006-06-171-6/+2
| | | | | | Please ensure this stays in our private cvs until the 23rd June, except the bug fixes. git-svn-id: file:///svn/phpbb/trunk@6092 89ea8834-ac86-4346-8a33-228a782c2dd0
* - automatically sync topic_reported when deleting a post [Bug #2152]Nils Adermann2006-06-141-1/+1
| | | | | | | | | | | | | - retrieve forum information in report.php - don't update deleted topics - proper permission check for "admin or moderator" - allow changing poster while ip dropdown contains a different user [Bug #2190] - fixed a typo in acp_styles [Bug #2188] - allow inserting BBCode at the first position of the textarea [Bug #2078] - allow the style name to be different than the style path git-svn-id: file:///svn/phpbb/trunk@6063 89ea8834-ac86-4346-8a33-228a782c2dd0
* - forgot to commit common.phpNils Adermann2006-06-101-0/+5
| | | | | | | | | - cleaning up a few more mcp permissions - adjust some links - make global topics work properly in MCP git-svn-id: file:///svn/phpbb/trunk@6045 89ea8834-ac86-4346-8a33-228a782c2dd0
* dumdidumMeik Sievertsen2006-06-071-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6018 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok, this one is rather large... the most important change:Meik Sievertsen2006-06-061-15/+14
| | | | | | | | | re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different apart from this, code cleanage, bug fixing, etc. git-svn-id: file:///svn/phpbb/trunk@6015 89ea8834-ac86-4346-8a33-228a782c2dd0
* hmm, still not giving the expected resultsMeik Sievertsen2006-05-281-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@5980 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fix nasty error in functions_admin generating a fatal error on inclusionMeik Sievertsen2006-05-281-1/+2
| | | | | | | - adjusted error reporting level to get those errors instead of just the script halting. git-svn-id: file:///svn/phpbb/trunk@5978 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some adjustements for phpdocumentorMeik Sievertsen2006-05-051-0/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@5883 89ea8834-ac86-4346-8a33-228a782c2dd0
* - put the error reporting check into another location (since we do want to ↵Meik Sievertsen2006-05-051-2/+1
| | | | | | | | | | display our notices. ;)) - default error reporting in common.php - E_ALL being set if DEBUG_EXTRA defined git-svn-id: file:///svn/phpbb/trunk@5882 89ea8834-ac86-4346-8a33-228a782c2dd0
* hmm, maybe i should not comment this statement, eh?Meik Sievertsen2006-05-041-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@5878 89ea8834-ac86-4346-8a33-228a782c2dd0
* - slightly adjusted the DEBUG/DEBUG_EXTRA requirementsMeik Sievertsen2006-05-041-2/+3
| | | | | | | | - changed error_reporting to E_ALL - our error handler now takes the error_reporting value into account allowing us to correctly supress notices git-svn-id: file:///svn/phpbb/trunk@5877 89ea8834-ac86-4346-8a33-228a782c2dd0
* blahMeik Sievertsen2006-04-291-50/+56
| | | | git-svn-id: file:///svn/phpbb/trunk@5860 89ea8834-ac86-4346-8a33-228a782c2dd0
* reverting changes to the installerMeik Sievertsen2006-04-291-100/+81
| | | | | | | do not introduce a function we never call outside of common.php git-svn-id: file:///svn/phpbb/trunk@5859 89ea8834-ac86-4346-8a33-228a782c2dd0
* graham, sorry for this but i had to... ;)Meik Sievertsen2006-04-281-35/+48
| | | | | | | | - utilize common.php in installer (we only need to change one location then) - use $user->lang instead of $lang to be able to use language template vars and having consistant namings git-svn-id: file:///svn/phpbb/trunk@5855 89ea8834-ac86-4346-8a33-228a782c2dd0
* oopsNils Adermann2006-04-261-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@5852 89ea8834-ac86-4346-8a33-228a782c2dd0
* - safer globals deregistrationNils Adermann2006-04-261-36/+55
| | | | git-svn-id: file:///svn/phpbb/trunk@5849 89ea8834-ac86-4346-8a33-228a782c2dd0
* - removed group settings from rolesMeik Sievertsen2006-04-221-28/+37
| | | | | | | | | | - added forum icon in front of forums in permissions acp - added trace permissions in permission masks (thanks naderman for writing the first code and for the idea... :)) - some bugfixes - PHP6 fix git-svn-id: file:///svn/phpbb/trunk@5824 89ea8834-ac86-4346-8a33-228a782c2dd0