aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acm
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11227] @return void -> @return null in develop-olympus.Oleg Pudeyev2012-11-296-9/+9
| | | | PHPBB3-11227
* [ticket/10110] Remove multi-server syntax from Redis ACM.Andreas Fischer2011-06-111-11/+1
| | | | PHPBB3-10110
* [ticket/10110] Remove tab from empty linesEric2011-03-311-6/+6
| | | | PHPBB3-10110
* [ticket/10110] Enable the serialization and add a constant forEric2011-03-311-11/+21
| | | | | | defined the database PHPBB3-10110
* [ticket/10110] Update comments with a link to the phpredis extensionEric2011-03-311-2/+5
| | | | PHPBB3-10110
* [ticket/10110] Add Redis ACM backendEric2011-03-311-0/+142
| | | | PHPBB3-10110
* [ticket/10014] Clearly indicate fatal errors in file acm.Oleg Pudeyev2011-01-281-2/+2
| | | | | | | | | | | | If acm_file cannot open the cache file for writing, it prints a message to that effect and calls die(). The message itself does not indicate that it is a fatal error, and someone seeing the message might expect that inability to write to cache is not fatal. Make it clear that the error is fatal by printing the word "Fatal" before the message. PHPBB3-10014
* [feature/acm-wincache] Adding caching module for WinCache's User Cache.ChrisTX2010-12-131-0/+84
| | | | PHPBB3-9942
* [ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable().Joas Schilling2010-08-192-0/+18
| | | | | | | In the ACM-Modules we need to check whether the function is loaded, before we use it, as this is not the case from download/file.php in avatar-mode. PHPBB3-9519
* [ticket/9519] Replace remaining is_writable() calls with phpbb_is_writable().Joas Schilling2010-08-102-3/+3
| | | | | | | acm_memory.php is untested. install/install_convert.php and includes/functions_convert.php are going to be tested and committed afterwards. PHPBB3-9519
* [feature/memcache-multi-server] Changing format for multiple memcache hosts. ↵mrkurt2010-03-181-6/+8
| | | | | | | Fixing code style issues in changes. Host and ports are now represented like this in config: host1/port1,host2/port2,host3/port3
* [feature/memcache-multi-server] Adding support for multiple memcache servers ↵mrkurt2010-03-181-2/+10
| | | | | | | | | | | to acm_memcache.php You can define multiple memcache servers in your config using this format: host::port,host::port,host::port Example: @define(PHPBB_ACM_MEMCACHE, '127.0.0.1::11211,10.0.0.2::11211,memcache1::11211'
* Oops thanks rxu, fixes r10309 refs #54465Chris Smith2010-01-071-0/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10396 89ea8834-ac86-4346-8a33-228a782c2dd0
* Bug #55865 - Correctly move sql_row_pointer forward when calling ↵Andreas Fischer2009-12-252-2/+2
| | | | | | sql_fetchfield() on cached queries. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10379 89ea8834-ac86-4346-8a33-228a782c2dd0
* Check for required eAccelerator functions #54465Chris Smith2009-12-092-0/+6
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10309 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix potential data corruption issues with memcache ACMChris Smith2009-12-081-1/+5
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10307 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix some issues with XCache, can't totally resolve the purge() method as ↵Chris Smith2009-06-132-4/+22
| | | | | | XCache does not expose its settings to userland PHP. #46435 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9579 89ea8834-ac86-4346-8a33-228a782c2dd0
* some corrections, only very minor things.Meik Sievertsen2009-06-073-14/+7
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9554 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix a small bug with xcache (thanks bantu), and some code consistency changesChris Smith2009-06-054-24/+7
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9544 89ea8834-ac86-4346-8a33-228a782c2dd0
* Here we go! New data format for the file ACM module:Chris Smith2009-06-051-110/+305
| | | | | | | | | | | | | | - No longer PHP files that are included - Contain a simple PHP header to stop people attempting to read them - Read using file system functions only reading as much data as required Result is: - Better performance by minimising file system reads - Injected HTML from nasty scripts no longer contaminates the board - Opcode caches are no longer thrashed and fragmented by the many files we generate git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9543 89ea8834-ac86-4346-8a33-228a782c2dd0
* Use unique per board cache keys per [1] important when using shared memory ↵Chris Smith2009-06-045-15/+19
| | | | | | | | | from opcode caches with multiple boards on one server. [1] http://area51.phpbb.com/phpBB/viewtopic.php?p=201739#p201739 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9541 89ea8834-ac86-4346-8a33-228a782c2dd0
* Finished I hope, appropriate errors when modules are missing.Chris Smith2009-06-045-10/+20
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9540 89ea8834-ac86-4346-8a33-228a782c2dd0
* Introduce XCache and eAccelerator, make some small changes to the abstract, ↵Chris Smith2009-06-043-1/+243
| | | | | | forgot a period in the command for r9537 :( git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9538 89ea8834-ac86-4346-8a33-228a782c2dd0
* Lets follow some PHP4 conventions underscores for internal methods.Chris Smith2009-06-043-18/+75
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9536 89ea8834-ac86-4346-8a33-228a782c2dd0
* Add APCChris Smith2009-06-042-340/+81
| | | | | | | Modify Memcache to use the memory abstract git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9534 89ea8834-ac86-4346-8a33-228a782c2dd0
* ACM memory abstract classChris Smith2009-06-041-0/+401
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9533 89ea8834-ac86-4346-8a33-228a782c2dd0
* Backport memcache ACM module from AscraeusChris Smith2009-06-041-0/+419
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9531 89ea8834-ac86-4346-8a33-228a782c2dd0
* New caching plugin, won't cache anythingChris Smith2009-06-021-0/+163
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9526 89ea8834-ac86-4346-8a33-228a782c2dd0
* add IN_PHPBB check to generated cache filesMeik Sievertsen2009-03-111-3/+3
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9363 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix infinite loop in message handler if cache directory is not writable. ↵Meik Sievertsen2009-03-011-2/+5
| | | | | | | | (Bug #38675) - newer PHP versions handle this quite fine, a Fatal Error is returned in this case git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9353 89ea8834-ac86-4346-8a33-228a782c2dd0
* Missing read permission from calls to phpbb_chmod()Chris Smith2008-12-191-3/+3
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9208 89ea8834-ac86-4346-8a33-228a782c2dd0
* small adjustement... only add an empty array if cached data is empty (from ↵Meik Sievertsen2008-11-221-2/+2
| | | | | | 3.2.x) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9076 89ea8834-ac86-4346-8a33-228a782c2dd0
* make sure phpbb_chmod is able to be calledMeik Sievertsen2008-11-221-0/+18
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9073 89ea8834-ac86-4346-8a33-228a782c2dd0
* Use phpBB 3.1.x method for storing cached data to prevent PHP bug with our ↵Meik Sievertsen2008-09-291-2/+2
| | | | | | usage of var_export(). (Thanks to Techie Micheal and HoL for pointing out possible problems) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8955 89ea8834-ac86-4346-8a33-228a782c2dd0
* change the way we do chmodd'ing. I know, my implementation really sucked... ↵Meik Sievertsen2008-08-221-3/+3
| | | | | | 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
* the chmod change i already had within the changelog (by mistake). This ↵Meik Sievertsen2008-08-161-3/+3
| | | | | | | | 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
* writable instead of writeable. :/Meik Sievertsen2008-07-281-2/+2
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8698 89ea8834-ac86-4346-8a33-228a782c2dd0
* Do not rely on parameter returned by unlink() for verifying cache directory ↵Meik Sievertsen2008-02-231-4/+6
| | | | | | write permission - #19565 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8388 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Re-populate arrays on cache purge/save to allow re-using some functions ↵Meik Sievertsen2007-11-171-0/+10
| | | | | | | | | without warnings - fix the annoying "last page empty" bug on inactive users page. git-svn-id: file:///svn/phpbb/trunk@8239 89ea8834-ac86-4346-8a33-228a782c2dd0
* dumdidum... sorry. ;)Meik Sievertsen2007-10-051-4/+12
| | | | git-svn-id: file:///svn/phpbb/trunk@8147 89ea8834-ac86-4346-8a33-228a782c2dd0
* some fixesMeik Sievertsen2007-07-111-1/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@7866 89ea8834-ac86-4346-8a33-228a782c2dd0
* more failsafe "glob()" method.Meik Sievertsen2007-07-101-3/+8
| | | | git-svn-id: file:///svn/phpbb/trunk@7863 89ea8834-ac86-4346-8a33-228a782c2dd0
* let's see if i can break something. :oMeik Sievertsen2007-07-031-5/+17
| | | | git-svn-id: file:///svn/phpbb/trunk@7830 89ea8834-ac86-4346-8a33-228a782c2dd0
* some fixes...Meik Sievertsen2007-06-301-1/+8
| | | | git-svn-id: file:///svn/phpbb/trunk@7813 89ea8834-ac86-4346-8a33-228a782c2dd0
* some language-specific adjustementsMeik Sievertsen2007-05-031-2/+2
| | | | | | | | fix prune users (adding the list of users to the confirmation page) tried to fix the show/hide trigger in ACP by not using width: auto; (which gets somehow inherited to each other element) git-svn-id: file:///svn/phpbb/trunk@7455 89ea8834-ac86-4346-8a33-228a782c2dd0
* some changes/bugfixesMeik Sievertsen2007-03-301-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7241 89ea8834-ac86-4346-8a33-228a782c2dd0
* #5137David M2007-03-201-0/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7211 89ea8834-ac86-4346-8a33-228a782c2dd0
* we support PHP4. :oMeik Sievertsen2007-03-031-3/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7112 89ea8834-ac86-4346-8a33-228a782c2dd0
* this change should be a performance boost on destroying the sql cache... ↵Meik Sievertsen2007-03-031-6/+23
| | | | | | took several seconds before. This is especially noticeable on updating groups and permissions and may also fix the "blank screen" bugs. git-svn-id: file:///svn/phpbb/trunk@7111 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixing some bugsMeik Sievertsen2007-01-201-6/+24
| | | | | | | | - removing utf8 characters from email files (has been discussed internally, you guys know why) - making sure some opendir calls are checked before calling readdir. git-svn-id: file:///svn/phpbb/trunk@6912 89ea8834-ac86-4346-8a33-228a782c2dd0