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/page/delete.php | 4 ++-- admin/page/index.php | 4 ++-- admin/page/insert.php | 4 ++-- admin/page/search.php | 4 ++-- admin/page/update.php | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'admin/page') diff --git a/admin/page/delete.php b/admin/page/delete.php index 2465f62..d815023 100644 --- a/admin/page/delete.php +++ b/admin/page/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/page/index.php b/admin/page/index.php index 63839a9..5a2a931 100644 --- a/admin/page/index.php +++ b/admin/page/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/page/insert.php b/admin/page/insert.php index e1e2412..76e9fb4 100644 --- a/admin/page/insert.php +++ b/admin/page/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/page/search.php b/admin/page/search.php index b74615f..8135b91 100644 --- a/admin/page/search.php +++ b/admin/page/search.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/page/update.php b/admin/page/update.php index 4afb5fb..2ea5156 100644 --- a/admin/page/update.php +++ b/admin/page/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