summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/globals.inc8
-rw-r--r--src/etc/inc/util.inc6
2 files changed, 7 insertions, 7 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) {
OpenPOWER on IntegriCloud