Fix incorrect config path

This commit is contained in:
Joshua
2022-07-27 13:34:12 +10:00
parent 34bc3bd60d
commit ebb754088b
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
//------------------------------------------------------------------------------
// ## TimeZone processing
$config_file = "../config/pialert.conf";
$config_file = "../../../config/pialert.conf";
$config_file_lines = file($config_file);
$config_file_lines_timezone = array_values(preg_grep('/^TIMEZONE\s.*/', $config_file_lines));
$timezone_line = explode("'", $config_file_lines_timezone[0]);

View File

@@ -9,7 +9,7 @@
//------------------------------------------------------------------------------
// ## TimeZone processing
$config_file = "../config/pialert.conf";
$config_file = "../../../config/pialert.conf";
$config_file_lines = file($config_file);
$config_file_lines_timezone = array_values(preg_grep('/^TIMEZONE\s.*/', $config_file_lines));
$timezone_line = explode("'", $config_file_lines_timezone[0]);