Fix warning

This commit is contained in:
Sébastien Lucas 2014-03-10 21:41:35 +01:00
父節點 8a8b98620d
當前提交 4b0ff71750
共有 1 個文件被更改,包括 2 次插入2 次删除

查看文件

@ -1075,8 +1075,8 @@ abstract class Base
public static function useAbsolutePath () {
global $config;
$path = self::getDbDirectory();
return preg_match ('/^\//', Base::getDbDirectory ()) || // Linux /
preg_match ('/^\w\:/', Base::getDbDirectory ()); // Windows X:
return preg_match ('/^\//', $path) || // Linux /
preg_match ('/^\w\:/', $path); // Windows X:
}
public static function noDatabaseSelected () {