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