1
0
Fork 0

Fix check for flag in case RELATIVE_PATHS should be changed somehow

pull/4423/head
Dennis Birkholz 2015-09-15 17:33:31 +02:00
parent 7267b2ed90
commit 1d7fa565e6
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ class Config
return $val; return $val;
} }
return ($flags & self::RELATIVE_PATHS == 1) ? $val : $this->realpath($val); return ($flags & self::RELATIVE_PATHS == self::RELATIVE_PATHS) ? $val : $this->realpath($val);
case 'cache-ttl': case 'cache-ttl':
return (int) $this->config[$key]; return (int) $this->config[$key];