diff options
-rw-r--r-- | src/etc/inc/globals.inc | 8 | ||||
-rw-r--r-- | src/etc/inc/util.inc | 6 | ||||
-rw-r--r-- | src/usr/local/www/diag_nanobsd.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/services_ntpd.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/status_ipsec_spd.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/wizard.php | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/src/etc/inc/globals.inc b/src/etc/inc/globals.inc index 3231ac9..8ab46d6 100644 --- a/src/etc/inc/globals.inc +++ b/src/etc/inc/globals.inc @@ -54,12 +54,12 @@ // Global defines // Automatic panel collapse -define(COLLAPSIBLE, 0x08); -define(SEC_CLOSED, 0x04); -define(SEC_OPEN, 0x00); +define('COLLAPSIBLE', 0x08); +define('SEC_CLOSED', 0x04); +define('SEC_OPEN', 0x00); // AddPassword method defines -define(DMYPWD, "********"); +define('DMYPWD', "********"); global $g; $g = array( diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc index e0f1a2a..b3c3242 100644 --- a/src/etc/inc/util.inc +++ b/src/etc/inc/util.inc @@ -56,9 +56,9 @@ * */ -define(VIP_ALL, 1); -define(VIP_CARP, 2); -define(VIP_IPALIAS, 3); +define('VIP_ALL', 1); +define('VIP_CARP', 2); +define('VIP_IPALIAS', 3); /* kill a process by pid file */ function killbypid($pidfile) { diff --git a/src/usr/local/www/diag_nanobsd.php b/src/usr/local/www/diag_nanobsd.php index 95b15c2..0619837 100644 --- a/src/usr/local/www/diag_nanobsd.php +++ b/src/usr/local/www/diag_nanobsd.php @@ -69,7 +69,7 @@ require_once("config.inc"); // Setting DEBUG to true causes the dangerous stuff on this page to be simulated rather than executed. // MUST be set to false for production of course -define(DEBUG, false); +define('DEBUG', false); $pgtitle = array(gettext("Diagnostics"), gettext("NanoBSD")); include("head.inc"); diff --git a/src/usr/local/www/services_ntpd.php b/src/usr/local/www/services_ntpd.php index 0f75d99..f92b795 100644 --- a/src/usr/local/www/services_ntpd.php +++ b/src/usr/local/www/services_ntpd.php @@ -61,7 +61,7 @@ ##|*MATCH=services_ntpd.php* ##|-PRIV -define(NUMTIMESERVERS, 10); // The maximum number of configurable time servers +define('NUMTIMESERVERS', 10); // The maximum number of configurable time servers require("guiconfig.inc"); require_once('rrd.inc'); require_once("shaper.inc"); diff --git a/src/usr/local/www/status_ipsec_spd.php b/src/usr/local/www/status_ipsec_spd.php index 574783d..d5b8111 100644 --- a/src/usr/local/www/status_ipsec_spd.php +++ b/src/usr/local/www/status_ipsec_spd.php @@ -63,8 +63,8 @@ ##|*MATCH=status_ipsec_spd.php* ##|-PRIV -define(RIGHTARROW, '►'); -define(LEFTARROW, '◀'); +define('RIGHTARROW', '►'); +define('LEFTARROW', '◀'); require("guiconfig.inc"); require("ipsec.inc"); diff --git a/src/usr/local/www/wizard.php b/src/usr/local/www/wizard.php index 28a9216..f9d00dd 100644 --- a/src/usr/local/www/wizard.php +++ b/src/usr/local/www/wizard.php @@ -69,7 +69,7 @@ require_once("rrd.inc"); require_once("system.inc"); // This causes the step #, field type and field name to be printed at the top of the page -define(DEBUG, false); +define('DEBUG', false); global $g; |