aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/config
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11015] Change more docblocks to phpbb_db_driver.Oleg Pudeyev2012-12-131-2/+2
| | | | PHPBB3-11015
* Merge remote-tracking branch 'upstream/develop' into ticket/11015Oleg Pudeyev2012-12-062-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/develop: (196 commits) [ticket/11219] Coding guidelines and naming consistency changes [ticket/10841] Revert more whitespace changes. [ticket/10841] Revert whitespace changes. [ticket/10841] adding space after if [ticket/10841] removing unnecessary spacing [ticket/10841] changing affectedrows check to COUNT in sql [ticket/10841] Modifying style and language selectors in UCP [ticket/11247] Fix wrong property reference in flock class. [ticket/10602] Avoid a race condition. [ticket/10602] Use last_queue_run for its intended purpose. [ticket/10716] Collect standard error from executed php process. [ticket/10716] Skip test if php is not in PATH. [ticket/10716] Exclude our dependencies from linting. [ticket/10103] New and improved wording. [ticket/10716] Only lint on php 5.3+. [ticket/10103] Assert with messages. [ticket/10103] assertLessThan/assertGreaterThan. [ticket/10103] Inline assignment is bad? [ticket/10103] $rv had too few characters. [ticket/10103] Correct flock class documentation. ... Conflicts: phpBB/includes/functions.php tests/cache/cache_test.php
| * [ticket/11227] @return void -> @return null, per coding guidelines.Oleg Pudeyev2012-11-302-2/+2
| | | | | | | | PHPBB3-11227
* | [ticket/11015] Make DBAL classes autoloadableIgor Wiedler2012-07-211-1/+1
|/ | | | | | | | PHPBB3-11015 This allows us to just create the object without having to include the driver first. However, it also means that users must specify the full class name in config.php
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-312-2/+2
| | | | PHPBB3-9916
* [ticket/10139] Make signatures of set_atomic() consistent by using $new_value.Andreas Fischer2011-04-191-3/+3
| | | | PHPBB3-10139
* [ticket/10139] Rename $cache to $use_cache to avoid confusion with cache objectAndreas Fischer2011-04-192-32/+32
| | | | PHPBB3-10139
* [ticket/10006] Remove unneeded if statementsErik Frèrejean2011-04-182-10/+0
| | | | | | Remove some of the additional `if (isset)` checks PHPBB3-10006
* [ticket/10006] Remove return valuesErik Frèrejean2011-04-182-11/+4
| | | | | | Remove some unneeded return values PHPBB3-10006
* [ticket/10006] Add phpbb_config::deleteErik Frèrejean2011-04-182-0/+52
| | | | | | Add the missing `phpbb_config::delete` method to the config class PHPBB3-10006
* [task/config-class] Add an attribute for the table name in phpbb_config_db.Nils Adermann2011-01-121-0/+6
| | | | PHPBB3-9988
* [task/config-class] Correctly merge cached config with dynamically loaded data.Nils Adermann2011-01-121-1/+5
| | | | PHPBB3-9988
* [task/config-class] Fix db config constructor param orderIgor Wiedler2011-01-111-2/+2
| | | | PHPBB3-9988
* [task/config-class] Implemented a config class to replace the global array.Nils Adermann2011-01-102-0/+332
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