mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 15:17:16 +01: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
@ -399,7 +399,6 @@ class container_builder
|
||||
*/
|
||||
protected function get_container_filename()
|
||||
{
|
||||
$filename = str_replace(array('/', '.'), array('slash', 'dot'), $this->phpbb_root_path);
|
||||
return $this->phpbb_root_path . 'cache/container_' . $filename . '.' . $this->php_ext;
|
||||
return $this->phpbb_root_path . 'cache/container_' . md5($this->phpbb_root_path) . '.' . $this->php_ext;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user