diff options
-rw-r--r-- | usr/local/www/services_ntpd_pps.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/local/www/services_ntpd_pps.php b/usr/local/www/services_ntpd_pps.php index ed6a24e..1eb3141 100644 --- a/usr/local/www/services_ntpd_pps.php +++ b/usr/local/www/services_ntpd_pps.php @@ -36,7 +36,12 @@ ##|*MATCH=services_ntpd_pps.php* ##|-PRIV -require("guiconfig.inc"); +require_once("guiconfig.inc"); + +if (!is_array($config['ntpd'])) + $config['ntpd'] = array(); +if (!is_array($config['ntpd']['pps'])) + $config['ntpd']['pps'] = array(); if ($_POST) { |