parent
ff87588d96
commit
9bab7c0323
|
@ -165,6 +165,10 @@ class Config extends Zend_Config
|
||||||
*/
|
*/
|
||||||
public static function resolvePath($path)
|
public static function resolvePath($path)
|
||||||
{
|
{
|
||||||
|
if (Platform::isWindows()) {
|
||||||
|
throw new ProgrammingError('Windows support has not yet been implemented');
|
||||||
|
}
|
||||||
|
|
||||||
if (strpos($path, DIRECTORY_SEPARATOR) === 0 || self::$configDir === false) {
|
if (strpos($path, DIRECTORY_SEPARATOR) === 0 || self::$configDir === false) {
|
||||||
return $path;
|
return $path;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue