mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/13903] Replacing regexp path naming for container by md5.
Replacement of the path creation based on a blacklist by a md5 filename to support broader configurations PHPBB3-13903
This commit is contained in:
parent
e8769fd561
commit
08a6f663de
1 changed files with 1 additions and 2 deletions
|
@ -399,7 +399,6 @@ class container_builder
|
||||||
*/
|
*/
|
||||||
protected function get_container_filename()
|
protected function get_container_filename()
|
||||||
{
|
{
|
||||||
$filename = str_replace(array('/', '.'), array('slash', 'dot'), $this->phpbb_root_path);
|
return $this->phpbb_root_path . 'cache/container_' . md5($this->phpbb_root_path) . '.' . $this->php_ext;
|
||||||
return $this->phpbb_root_path . 'cache/container_' . $filename . '.' . $this->php_ext;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue