Skip to content

Commit

Permalink
Merge pull request #287 from Geolim4/final
Browse files Browse the repository at this point in the history
Fixed #286
  • Loading branch information
Geolim4 committed May 17, 2016
2 parents 2c495ca + fe300b9 commit 348f765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phpFastCache/Core/phpFastCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public static function getPath($skip_create_path = false, $config)
$securityKey = self::$config[ 'securityKey' ];
if ($securityKey == 'auto' || $securityKey == '') {
$securityKey = isset($_SERVER[ 'HTTP_HOST' ]) ? preg_replace('/^www./',
'', strtolower($_SERVER[ 'HTTP_HOST' ])) : "default";
'', strtolower(str_replace(':', '_', $_SERVER[ 'HTTP_HOST' ]))) : "default";
}
}
if ($securityKey != '') {
Expand Down

0 comments on commit 348f765

Please sign in to comment.