[FIX] Wrong Memcache file path for Windows based systems
This commit is contained in:
parent
256d438861
commit
59f490d9d6
@ -46,7 +46,7 @@ $hts = ($config['https_only'] && (!empty($_SERVER['QUERY_STRING']))) ? "https://
|
|||||||
// Rate limiting
|
// Rate limiting
|
||||||
if ($config['memcache']['enabled'] && $config['mc_antidos']['enabled']) {
|
if ($config['memcache']['enabled'] && $config['mc_antidos']['enabled']) {
|
||||||
if (PHP_OS == 'WINNT') {
|
if (PHP_OS == 'WINNT') {
|
||||||
require_once(CLASS_DIR . 'memcached.class.php');
|
require_once(CLASS_DIR . '/memcached.class.php');
|
||||||
}
|
}
|
||||||
// memcache antidos needs a memcache handle
|
// memcache antidos needs a memcache handle
|
||||||
$memcache = new Memcached();
|
$memcache = new Memcached();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user