Fix check for flag in case RELATIVE_PATHS should be changed somehow
parent
7267b2ed90
commit
1d7fa565e6
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue