From 871dab6a8071694884cc03e4612739ad1b34a7be Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 26 Jun 2021 15:22:45 +0200 Subject: Use const to define expressionless admin constants --- admin/user/delete.php | 4 ++-- admin/user/index.php | 4 ++-- admin/user/insert.php | 4 ++-- admin/user/update.php | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'admin/user') diff --git a/admin/user/delete.php b/admin/user/delete.php index 758e536..5a38b53 100644 --- a/admin/user/delete.php +++ b/admin/user/delete.php @@ -2,8 +2,8 @@ #=============================================================================== # DEFINE: Administration #=============================================================================== -define('ADMINISTRATION', TRUE); -define('AUTHENTICATION', TRUE); +const ADMINISTRATION = TRUE; +const AUTHENTICATION = TRUE; #=============================================================================== # INCLUDE: Initialization diff --git a/admin/user/index.php b/admin/user/index.php index 78219f3..6513311 100644 --- a/admin/user/index.php +++ b/admin/user/index.php @@ -2,8 +2,8 @@ #=============================================================================== # DEFINE: Administration #=============================================================================== -define('ADMINISTRATION', TRUE); -define('AUTHENTICATION', TRUE); +const ADMINISTRATION = TRUE; +const AUTHENTICATION = TRUE; #=============================================================================== # INCLUDE: Initialization diff --git a/admin/user/insert.php b/admin/user/insert.php index 4a49492..2d9e09f 100644 --- a/admin/user/insert.php +++ b/admin/user/insert.php @@ -2,8 +2,8 @@ #=============================================================================== # DEFINE: Administration #=============================================================================== -define('ADMINISTRATION', TRUE); -define('AUTHENTICATION', TRUE); +const ADMINISTRATION = TRUE; +const AUTHENTICATION = TRUE; #=============================================================================== # INCLUDE: Initialization diff --git a/admin/user/update.php b/admin/user/update.php index 5a90ec3..bff21b3 100644 --- a/admin/user/update.php +++ b/admin/user/update.php @@ -2,8 +2,8 @@ #=============================================================================== # DEFINE: Administration #=============================================================================== -define('ADMINISTRATION', TRUE); -define('AUTHENTICATION', TRUE); +const ADMINISTRATION = TRUE; +const AUTHENTICATION = TRUE; #=============================================================================== # INCLUDE: Initialization -- cgit v1.2.3