Fix the local.lua path

This commit is contained in:
Mark Crane 2014-04-26 05:49:46 +00:00
parent 6a6ed9c03c
commit dae33f59c9
1 changed files with 2 additions and 2 deletions

View File

@ -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";