aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cache
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #932 from EXreaction/ticket/10875Nils Adermann2012-08-144-4/+8
|\ | | | | Ticket/10875
| * [ticket/10875] Return $query_id from sql_saveNathan Guse2012-08-062-0/+4
| | | | | | | | | | | | | | | | Have to return the $query_id from sql_save so that the results can be pulled Updated cache test to do some basic sql cache testing. PHPBB3-10875
| * [ticket/10875] Fix SQL CachingNathan Guse2012-07-304-4/+4
| | | | | | | | | | | | | | | | | | | | | | The sql_save function cannot take arguments by reference since it is called by call_user_func_array() Replace use of isset($cache->sql_rowset[$query_id]) with $cache->sql_exists Replace $cache->cache_dir with $cache->get_driver()->cache_dir PHPBB3-10875
* | [ticket/11029] Remove $reparse variableNathan Guse2012-08-061-7/+2
| | | | | | | | | | | | | | Its only set to false, then true in one case, and only checked once. So remove it because it is unnecessary. PHPBB3-11029
* | [ticket/11029] Return $parsed_array (may have loaded from the cache)Nathan Guse2012-08-061-1/+1
| | | | | | | | | | | | | | Even if the file does not exist, it may be in the cache, so return $parsed_array just in case PHPBB3-11029
* | [ticket/11029] Cache obtain_cfg_items should return empty array on failureNathan Guse2012-07-301-1/+1
|/ | | | | | | | | | continue was used where it should not have been, causing a fatal error This file is loaded on every page to check if style.cfg has changed. If it has not, the user is not affected, so if it does not exist, the user should not be affected either. PHPBB3-11029
* [ticket/10743] Changing obtain_cfg_itemsVjacheslav Trushkin2012-06-111-33/+22
| | | | | | | Changing obtain_cfg_items to work only with style because other components no longer exist PHPBB3-10743
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-3113-22/+13
| | | | PHPBB3-9916
* Merge branch 'develop-olympus' into developIgor Wiedler2011-06-111-12/+2
| | | | | | | | * develop-olympus: [ticket/10110] Remove multi-server syntax from Redis ACM. Conflicts: phpBB/includes/cache/driver/redis.php
* [feature/attachment-management-no-reassignment] Handle privacy and some more.rxu2011-04-241-0/+1
| | | | | | | | | - restrict files info for PM attachments; - add an option to resync files stats if wrong; - replace post_id sorting with post type (PM/regular post) one; - some language fixes. PHPBB3-9721
* [feature/redis] Add Redis cache driver using phpredis extensionEric2011-03-301-0/+150
| | | | PHPBB3-10110
* Merge branch 'develop-olympus' into developAndreas Fischer2011-02-011-2/+2
| | | | | * develop-olympus: [ticket/10014] Clearly indicate fatal errors in file acm.
* Merge branch 'task/naderman/config-class' into developAndreas Fischer2011-01-121-66/+40
|\ | | | | | | | | | | | | | | | | | | * task/naderman/config-class: [task/config-class] Do not create multiple cache driver instances. [task/config-class] Add an attribute for the table name in phpbb_config_db. [task/config-class] Correctly merge cached config with dynamically loaded data. [task/config-class] Always specify the config table to use. [task/config-class] Fix db config constructor param order [task/config-class] Implemented a config class to replace the global array.
| * [task/config-class] Do not create multiple cache driver instances.Nils Adermann2011-01-121-23/+42
| | | | | | | | | | | | | | Retrieve the driver from the service instead of creating new ones over and over from the factory. PHPBB3-9988
| * [task/config-class] Implemented a config class to replace the global array.Nils Adermann2011-01-101-45/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a phpbb_config class which simply holds an array and does not persist any data. It implements ArrayAccess, Countable and IteratorAggregate to allow regular use of configuration as if it was still an array. The phpbb_config_db class depends on an instance of the dbal and a cache driver. It obtains the configuration data from cache and database as necessary and persists data to the database. The functions set_config and set_config_count remain for backward compatability but they only call methods on the new config class now instead of directly manipulating the database and cache. PHPBB3-9988
* | [task/acm-refactor] Refactor WinCache ACM moduleIgor Wiedler2011-01-111-0/+78
|/ | | | PHPBB3-9983
* [task/acm-refactor] Cleaning up left over mentions of ACM and fixing tests.Nils Adermann2011-01-091-15/+6
| | | | PHPBB3-9983
* [task/acm-refactor] Refactor the ACM classes to have a common interface.Igor Wiedler2011-01-0911-0/+2385
They are now refered to as cache drivers rather than ACM classes. The additional utility functions from the original cache class have been moved to the cache_service. The class loader is now instantiated without a cache instance and passed one as soon as it is constructed to allow autoloading the cache classes. PHPBB3-9983