aboutsummaryrefslogtreecommitdiffstats
path: root/admin/page
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-06-26 15:22:45 +0200
committerThomas Lange <code@nerdmind.de>2021-06-26 15:22:45 +0200
commit871dab6a8071694884cc03e4612739ad1b34a7be (patch)
tree32e325d14a99762d25860b488883e0cfe1b937dd /admin/page
parent4b454db4f0de0c9547a5f20ac33cd7adfcc3b34f (diff)
downloadblog-871dab6a8071694884cc03e4612739ad1b34a7be.tar.gz
blog-871dab6a8071694884cc03e4612739ad1b34a7be.tar.xz
blog-871dab6a8071694884cc03e4612739ad1b34a7be.zip
Use const to define expressionless admin constants
Diffstat (limited to 'admin/page')
-rw-r--r--admin/page/delete.php4
-rw-r--r--admin/page/index.php4
-rw-r--r--admin/page/insert.php4
-rw-r--r--admin/page/search.php4
-rw-r--r--admin/page/update.php4
5 files changed, 10 insertions, 10 deletions
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