Browse Source

Fix warning

master
Sébastien Lucas 10 years ago
parent
commit
4b0ff71750
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      base.php

+ 2
- 2
base.php View File

@@ -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 () {


Loading…
Cancel
Save