From dae33f59c9dd5bb93a1ca88a99640dd109e5b238 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 26 Apr 2014 05:49:46 +0000 Subject: [PATCH] Fix the local.lua path --- core/databases/app_defaults.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/databases/app_defaults.php b/core/databases/app_defaults.php index dae7473f38..eb74538bc8 100644 --- a/core/databases/app_defaults.php +++ b/core/databases/app_defaults.php @@ -160,9 +160,9 @@ if ($domains_processed == 1) { $tmp .= "--include local.lua\n"; $tmp .= " dofile(scripts_dir..\"/resources/functions/file_exists.lua\");\n"; $tmp .= " if (file_exists(\"/etc/fusionpbx/local.lua\")) then\n"; - $tmp .= " dofile(scripts_dir..\"/etc/fusionpbx/local.lua\");\n"; + $tmp .= " dofile(\"/etc/fusionpbx/local.lua\");\n"; $tmp .= " elseif (file_exists(\"/usr/local/etc/fusionpbx/local.lua\")) then\n"; - $tmp .= " dofile(scripts_dir..\"/usr/local/etc/fusionpbx/local.lua\");\n"; + $tmp .= " dofile(\"/usr/local/etc/fusionpbx/local.lua\");\n"; $tmp .= " elseif (file_exists(scripts_dir..\"/resources/local.lua\")) then\n"; $tmp .= " dofile(scripts_dir..\"/resources/local.lua\");\n"; $tmp .= " end\n";