diff options
| author | Nils Adermann <naderman@naderman.de> | 2011-01-12 00:28:12 +0100 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2011-01-12 01:47:51 +0100 |
| commit | f11579549d0250733f4a2bd1759adc2db6d587d3 (patch) | |
| tree | eebd2209f3018c83b94faebe0494c1f93c3e5ccb /phpBB/install/index.php | |
| parent | 8e26f14eb619c35cabfbf548e0d20926c4dd2d01 (diff) | |
| download | forums-f11579549d0250733f4a2bd1759adc2db6d587d3.tar forums-f11579549d0250733f4a2bd1759adc2db6d587d3.tar.gz forums-f11579549d0250733f4a2bd1759adc2db6d587d3.tar.bz2 forums-f11579549d0250733f4a2bd1759adc2db6d587d3.tar.xz forums-f11579549d0250733f4a2bd1759adc2db6d587d3.zip | |
[task/config-class] Do not create multiple cache driver instances.
Retrieve the driver from the service instead of creating new ones
over and over from the factory.
PHPBB3-9988
Diffstat (limited to 'phpBB/install/index.php')
| -rw-r--r-- | phpBB/install/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 18521e27d0..c8c38ba0fa 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -172,8 +172,8 @@ $class_loader->register(); // set up caching $cache_factory = new phpbb_cache_factory('file'); -$class_loader->set_cache($cache_factory->get_driver()); $cache = $cache_factory->get_service(); +$class_loader->set_cache($cache->get_driver()); $request = new phpbb_request(); |
