Fix incorrect config path

This commit is contained in:
Joshua committed 2022-07-27 13:34:12 +10:00
1 parent 34bc3bd60d
commit ebb754088b
2 files changed
+2 -2

No files matched your search

+1 -1
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]);
+1 -1
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]);