aboutsummaryrefslogtreecommitdiffstats
path: root/admin/user
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/user
parent4b454db4f0de0c9547a5f20ac33cd7adfcc3b34f (diff)
downloadblog-871dab6a8071694884cc03e4612739ad1b34a7be.tar.gz
blog-871dab6a8071694884cc03e4612739ad1b34a7be.tar.xz
blog-871dab6a8071694884cc03e4612739ad1b34a7be.zip
Use const to define expressionless admin constants
Diffstat (limited to 'admin/user')
-rw-r--r--admin/user/delete.php4
-rw-r--r--admin/user/index.php4
-rw-r--r--admin/user/insert.php4
-rw-r--r--admin/user/update.php4
4 files changed, 8 insertions, 8 deletions
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