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/post/delete.php | 4 ++-- admin/post/index.php | 4 ++-- admin/post/insert.php | 4 ++-- admin/post/search.php | 4 ++-- admin/post/update.php | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) (limited to 'admin/post') diff --git a/admin/post/delete.php b/admin/post/delete.php index 1f398e1..519ba9e 100644 --- a/admin/post/delete.php +++ b/admin/post/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/post/index.php b/admin/post/index.php index f6fcfb6..e66d3b2 100644 --- a/admin/post/index.php +++ b/admin/post/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/post/insert.php b/admin/post/insert.php index 70435cc..b4404fa 100644 --- a/admin/post/insert.php +++ b/admin/post/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/post/search.php b/admin/post/search.php index cfa2159..b438201 100644 --- a/admin/post/search.php +++ b/admin/post/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/post/update.php b/admin/post/update.php index 9091e59..3e4d0ab 100644 --- a/admin/post/update.php +++ b/admin/post/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