From 7927102a165be0cce2ebe32586c4e6434c11959a Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sun, 20 Dec 2015 22:50:33 -0700 Subject: [PATCH] Fix a problem caused with a search and replace on the correct_path method. --- app/scripts/resources/classes/scripts.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scripts/resources/classes/scripts.php b/app/scripts/resources/classes/scripts.php index a112d49041..57959b4dcb 100644 --- a/app/scripts/resources/classes/scripts.php +++ b/app/scripts/resources/classes/scripts.php @@ -54,15 +54,15 @@ class scripts { /** * Corrects the path for specifically for windows */ - private function $this->correct_path($p) { + private function correct_path($path) { global $IS_WINDOWS; if ($IS_WINDOWS == null) { if (stristr(PHP_OS, 'WIN')) { $IS_WINDOWS = true; } else { $IS_WINDOWS = false; } } if ($IS_WINDOWS) { - return str_replace('/', '\\', $p); + return str_replace('/', '\\', $path); } - return $p; + return $path; } /**