looking for wrong seperator
authorAlan Knowles <alan@roojs.com>
Wed, 3 Jun 2020 08:01:22 +0000 (16:01 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 3 Jun 2020 08:01:22 +0000 (16:01 +0800)
UpdateDatabase/MysqlLinks.php

index 02db548..83b9634 100644 (file)
@@ -80,7 +80,7 @@ class Pman_Core_UpdateDatabase_MysqlLinks {
         
         $iniCache = isset( $ff->PDO_DataObject) ?  $ff->PDO_DataObject['schema_location'] : $ff->DB_DataObject[$dbini];
         
-        if (strpos($iniCache, DIRECTORY_SEPARATOR) !== false) {
+        if (strpos($iniCache, PATH_SEPARATOR) !== false) {
             echo "SKIP links code - cached ini file has not been created\n";
             return;
         }