From 08a6f663dea6f1d634f0de14128e8eddd3106807 Mon Sep 17 00:00:00 2001 From: Wardormeur Date: Sun, 31 May 2015 11:57:03 +0200 Subject: [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 --- phpBB/phpbb/di/container_builder.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'phpBB') diff --git a/phpBB/phpbb/di/container_builder.php b/phpBB/phpbb/di/container_builder.php index 638c13e86d..a214356ac3 100644 --- a/phpBB/phpbb/di/container_builder.php +++ b/phpBB/phpbb/di/container_builder.php @@ -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; } } -- cgit v1.2.1