aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorWardormeur <wardormeur@gmail.com>2015-05-31 11:57:03 +0200
committerAndreas Fischer <bantu@phpbb.com>2015-06-16 18:29:41 +0200
commit08a6f663dea6f1d634f0de14128e8eddd3106807 (patch)
tree42c43b7d307b0bc679f160d8fba085ab0cb4d0c4 /phpBB
parente8769fd561edf011b6c3738600173e3c8bcbfdd9 (diff)
downloadforums-08a6f663dea6f1d634f0de14128e8eddd3106807.tar
forums-08a6f663dea6f1d634f0de14128e8eddd3106807.tar.gz
forums-08a6f663dea6f1d634f0de14128e8eddd3106807.tar.bz2
forums-08a6f663dea6f1d634f0de14128e8eddd3106807.tar.xz
forums-08a6f663dea6f1d634f0de14128e8eddd3106807.zip
[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
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/di/container_builder.php3
1 files changed, 1 insertions, 2 deletions
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;
}
}