vali 6 år sedan
förälder
incheckning
d0f1d304f9
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      vendor/GatewayWorker_windows/Applications/whisper/Events.php

+ 1 - 1
vendor/GatewayWorker_windows/Applications/whisper/Events.php

@@ -42,7 +42,7 @@ class Events
     {
         if (empty(self::$db)) {
             $mds = DIRECTORY_SEPARATOR;
-            if (strtolower(subtr(PHP_OS, 0, 3)) == 'win') {
+            if (strtolower(substr(PHP_OS, 0, 3)) == 'win') {
                 $dbcfg = realpath(dirname(__FILE__) . $mds . '..' . $mds . '..' . $mds . '..' . $mds . '..') . $mds . 'application' . $mds . 'database.php';
             } else {
                 $dbcfg = realpath(dirname(__FILE__) . $mds . '..' . $mds . '..' . $mds . '..' . $mds . '..' . $mds . '..') . $mds . 'application' . $mds . 'database.php';