1
0
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:
Wardormeur 2015-05-31 11:57:03 +02:00 committed by Andreas Fischer
parent e8769fd561
commit 08a6f663de

View File

@ -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;
}
}