1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-08 00:25:19 +02:00

[feature/extension-manager] Use _ext for cache - avoids conflict with file ext

PHPBB3-10323
This commit is contained in:
Nils Adermann 2011-08-29 18:44:43 -04:00
parent 64827a6623
commit bd1366d62d
2 changed files with 4 additions and 4 deletions

View File

@ -66,7 +66,7 @@ class phpbb_extension_finder
'directory' => false,
);
$this->cached_queries = ($this->cache) ? $this->cache->get('_extension_finder') : false;
$this->cached_queries = ($this->cache) ? $this->cache->get('_ext_finder') : false;
}
/**
@ -284,7 +284,7 @@ class phpbb_extension_finder
if ($cache && $this->cache)
{
$this->cached_queries[$query] = $files;
$this->cache->put('_extension_finder', $this->cached_queries);
$this->cache->put('_ext_finder', $this->cached_queries);
}
return $files;

View File

@ -45,7 +45,7 @@ class phpbb_extension_manager
$this->phpEx = $phpEx;
$this->extension_table = $extension_table;
$this->extensions = $this->cache->get('_extensions');
$this->extensions = $this->cache->get('_ext');
if ($this->extensions === false)
{
@ -75,7 +75,7 @@ class phpbb_extension_manager
}
ksort($this->extensions);
$this->cache->put('_extensions', $this->extensions);
$this->cache->put('_ext', $this->extensions);
}
/**