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:
parent
64827a6623
commit
bd1366d62d
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user