From dd9e225fa57c9d26b8f510fb359c3d5a080dbee6 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sun, 20 Dec 2015 22:52:40 -0700 Subject: [PATCH] Use the system function for recursive copy. --- app/scripts/resources/classes/scripts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/resources/classes/scripts.php b/app/scripts/resources/classes/scripts.php index 57959b4dcb..47cc91ff54 100644 --- a/app/scripts/resources/classes/scripts.php +++ b/app/scripts/resources/classes/scripts.php @@ -83,7 +83,7 @@ class scripts { $src_dir = $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/resources/install/scripts'; } if (is_readable($dst_dir)) { - $this->recursive_copy($src_dir, $dst_dir); + recursive_copy($src_dir, $dst_dir); unset($src_dir, $dst_dir); }else{ throw new Exception("Cannot read from '$src_dir' to get the scripts");