aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
Commit message (Collapse)AuthorAgeFilesLines
...
* remove the cache for the session lookups. Actually, the disk reads/writes ↵Meik Sievertsen2009-01-271-1/+1
| | | | | | are more expensive than the sql queries. At phpbb.com for example this results in excessive disk access and more than 1000 cache files. This is not acceptable. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9308 89ea8834-ac86-4346-8a33-228a782c2dd0
* Add same redirect disable_cd_check parameter to meta_refresh - #38065Meik Sievertsen2008-12-021-2/+7
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9153 89ea8834-ac86-4346-8a33-228a782c2dd0
* Slight performance increase for common parameter calls to append_sid() (Bug ↵Meik Sievertsen2008-12-021-12/+27
| | | | | | #37555 - Patch by BartVB) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9150 89ea8834-ac86-4346-8a33-228a782c2dd0
* stupid PHP manual :@ the two parameters to clearstatcache() are 5.3 only. ↵Chris Smith2008-12-011-5/+5
| | | | | | Fix r9144 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9146 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix potential issues with the stat cache and phpbb_chmod()Chris Smith2008-12-011-0/+8
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9144 89ea8834-ac86-4346-8a33-228a782c2dd0
* Let's face it - the most common setup we see with phpBB is having ↵Meik Sievertsen2008-11-301-2/+5
| | | | | | | | group-specific settings for external users (FTP, whatever). Changed phpbb_chmod() to set the group bit, even if the PHP user is the owner. (somehow this sounds complicated, i hope you get the idea). git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9131 89ea8834-ac86-4346-8a33-228a782c2dd0
* inheritance is reflexiveHenry Sudhof2008-11-101-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9057 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Do not show link to user/group profiles if user has no permission to view ↵Meik Sievertsen2008-10-091-1/+1
| | | | | | | | | the linked page and gets a denied message anyway. (Bug #15088) - Do not display last post link and sort display options for search engines. (Bug #15088) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8987 89ea8834-ac86-4346-8a33-228a782c2dd0
* Remove NUL-Bytes directly in request_var() for strings and within the custom ↵Meik Sievertsen2008-10-021-1/+1
| | | | | | DBAL sql_escape() functions (MSSQL, Firebird, Oracle) (reported by AdhostMikeSw) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8967 89ea8834-ac86-4346-8a33-228a782c2dd0
* further adjustments to exit; statementsMeik Sievertsen2008-09-301-0/+3
| | | | | | force E_USER_ERROR to exit *always* - it is always a fatal error which should stop every execution happening git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8957 89ea8834-ac86-4346-8a33-228a782c2dd0
* check fields properly not being set sometimes. ;)Meik Sievertsen2008-09-291-5/+5
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8956 89ea8834-ac86-4346-8a33-228a782c2dd0
* Set secure cookie for style switcher if required. (Bug #19625)Meik Sievertsen2008-09-181-2/+4
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8874 89ea8834-ac86-4346-8a33-228a782c2dd0
* Extra slash is included in the redirect url when redirecting to the forum ↵Chris Smith2008-09-051-1/+1
| | | | | | | | | root directory. Closes #33605 Fix small mistake in CHANGELOG git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8832 89ea8834-ac86-4346-8a33-228a782c2dd0
* Show users posts in queue in acp and profile + link to mcpMeik Sievertsen2008-09-011-6/+13
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8801 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix installation by defining our needed CHMOD_READ and CHMOD_WRITE constants.Meik Sievertsen2008-08-241-2/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8787 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix a small glitch in phpbb_chmodMeik Sievertsen2008-08-231-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8784 89ea8834-ac86-4346-8a33-228a782c2dd0
* some changes for proper code documentationMeik Sievertsen2008-08-231-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8783 89ea8834-ac86-4346-8a33-228a782c2dd0
* change the way we do chmodd'ing. I know, my implementation really sucked... ↵Meik Sievertsen2008-08-221-66/+100
| | | | | | good we have motivated community members who point this out. ;) Thanks to faw for providing a way better function and for discussing and also abiding to our needs. :) LEW21 should maybe credited too... he gave the inspiration without knowing it. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8780 89ea8834-ac86-4346-8a33-228a782c2dd0
* commentsHenry Sudhof2008-08-221-5/+3
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8778 89ea8834-ac86-4346-8a33-228a782c2dd0
* as per evil3, some more anti-CSRFHenry Sudhof2008-08-211-0/+31
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8775 89ea8834-ac86-4346-8a33-228a782c2dd0
* the chmod change i already had within the changelog (by mistake). This ↵Meik Sievertsen2008-08-161-0/+102
| | | | | | | | should further secure writable directories and created files. Installation need to be tested on different hosts. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8763 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix cookie secure detection... hopefullyMeik Sievertsen2008-08-011-1/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8737 89ea8834-ac86-4346-8a33-228a782c2dd0
* cleaning tpl fallbacks upHenry Sudhof2008-07-301-0/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8733 89ea8834-ac86-4346-8a33-228a782c2dd0
* tiny alterations/bugfixesMeik Sievertsen2008-07-281-0/+5
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8691 89ea8834-ac86-4346-8a33-228a782c2dd0
* Bug #29635Meik Sievertsen2008-06-281-2/+3
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8675 89ea8834-ac86-4346-8a33-228a782c2dd0
* New parameter for redirect() to circumvent the cross-domain check.Meik Sievertsen2008-06-281-3/+7
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8674 89ea8834-ac86-4346-8a33-228a782c2dd0
* further checks on maximum storage lengthMeik Sievertsen2008-06-211-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8667 89ea8834-ac86-4346-8a33-228a782c2dd0
* remove the $Id$ line there and instead add valuable information. Oh, and did ↵Meik Sievertsen2008-06-121-1/+1
| | | | | | not know the phpass project catched our implementation of their code. :) Nice to see. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8651 89ea8834-ac86-4346-8a33-228a782c2dd0
* added two comments to describe the functions use-caseMeik Sievertsen2008-06-101-0/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8643 89ea8834-ac86-4346-8a33-228a782c2dd0
* Regular expression for email matching in posts will no longer die on long wordsNils Adermann2008-06-091-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8641 89ea8834-ac86-4346-8a33-228a782c2dd0
* #27395Meik Sievertsen2008-06-091-10/+10
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8636 89ea8834-ac86-4346-8a33-228a782c2dd0
* typoHenry Sudhof2008-06-081-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8622 89ea8834-ac86-4346-8a33-228a782c2dd0
* Some xenophobiaHenry Sudhof2008-06-061-3/+9
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8611 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok, well, my team is allowed to give me some slappage. :/ I now changed this ↵Meik Sievertsen2008-06-041-4/+4
| | | | | | sooo often and never realised the code portion is absolute rubbish... with ini_get returning something completely different. Now, this should work (at least for PHP 5.2.x) - tested all 16 possible combinations of triggering errors before and after headers sent, with and without gzip compression, with and without output buffering. Now, please work for others too... git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8594 89ea8834-ac86-4346-8a33-228a782c2dd0
* Too much for a minor; sorryHenry Sudhof2008-06-041-46/+13
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8591 89ea8834-ac86-4346-8a33-228a782c2dd0
* a little polishHenry Sudhof2008-06-031-4/+4
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8585 89ea8834-ac86-4346-8a33-228a782c2dd0
* give the ACP a login screenHenry Sudhof2008-06-021-9/+42
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8581 89ea8834-ac86-4346-8a33-228a782c2dd0
* we slowly get to itMeik Sievertsen2008-04-211-0/+6
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8523 89ea8834-ac86-4346-8a33-228a782c2dd0
* did i ever mention that i hate php's handling of buffers (or i simply do not ↵Meik Sievertsen2008-04-211-2/+2
| | | | | | understand them) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8519 89ea8834-ac86-4346-8a33-228a782c2dd0
* Remove caching. Ideally, this owuld depend on the current loadHenry Sudhof2008-04-101-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8501 89ea8834-ac86-4346-8a33-228a782c2dd0
* suppress ob_flush() output and flush() at the end (within my tests this ↵Meik Sievertsen2008-04-041-1/+4
| | | | | | solved blank pages on some setups and do not affect gzip compression). git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8491 89ea8834-ac86-4346-8a33-228a782c2dd0
* some corrections to let the update work flawlessly.Meik Sievertsen2008-03-271-2/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8475 89ea8834-ac86-4346-8a33-228a782c2dd0
* #24105 - Quite compliacted lang changes, translators will complain :|Henry Sudhof2008-03-271-11/+28
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8474 89ea8834-ac86-4346-8a33-228a782c2dd0
* Allow & and | in local part of email addresses - #22995Meik Sievertsen2008-03-181-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8447 89ea8834-ac86-4346-8a33-228a782c2dd0
* i think i will stop committing thinks today. :/Meik Sievertsen2008-03-181-2/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8443 89ea8834-ac86-4346-8a33-228a782c2dd0
* i somehow mixed my local copy with the changesMeik Sievertsen2008-03-181-13/+11
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8442 89ea8834-ac86-4346-8a33-228a782c2dd0
* grrMeik Sievertsen2008-03-181-4/+0
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8440 89ea8834-ac86-4346-8a33-228a782c2dd0
* hmm, still bugs thereMeik Sievertsen2008-03-181-5/+5
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8439 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some changes to the recent session changeMeik Sievertsen2008-03-181-7/+15
| | | | | | | - display errors on inserting sessions - fix database updater git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8438 89ea8834-ac86-4346-8a33-228a782c2dd0
* mehHenry Sudhof2008-03-171-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8437 89ea8834-ac86-4346-8a33-228a782c2dd0