diff options
author | Ermal <eri@pfsense.org> | 2014-02-19 15:58:05 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-02-19 15:58:05 +0000 |
commit | b3974c79e5b30c62762110ccdb3a8bf0c0099d7b (patch) | |
tree | fa9d74cebf3244788f102ba16ccbc86ff269790b /usr/local/www | |
parent | 8988ab9581fb0ccc73df0037581e820b2c429a6f (diff) | |
download | pfsense-b3974c79e5b30c62762110ccdb3a8bf0c0099d7b.zip pfsense-b3974c79e5b30c62762110ccdb3a8bf0c0099d7b.tar.gz |
Make this usable
Diffstat (limited to 'usr/local/www')
-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) { |