From 1e9489b1e5ddb4f144f0d3c814b8357fdc83aadf Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sun, 15 May 2016 08:57:59 -0600 Subject: [PATCH] Update scripts.php Remove this code as its breaking the upgrade page when migrating from source to package paths. --- app/scripts/resources/classes/scripts.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/scripts/resources/classes/scripts.php b/app/scripts/resources/classes/scripts.php index 304c30e363..5872c5cade 100644 --- a/app/scripts/resources/classes/scripts.php +++ b/app/scripts/resources/classes/scripts.php @@ -114,8 +114,6 @@ if (!class_exists('scripts')) { } chmod($dst_dir, 0775); unset($dst_dir); - } else { - throw new Exception("Scripts directory doesn't exist"); } } } @@ -284,4 +282,4 @@ if (!class_exists('scripts')) { $obj = new scripts; $obj->write_config(); */ -?> \ No newline at end of file +?>