vali 6 gadi atpakaļ
vecāks
revīzija
d0f1d304f9

+ 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';