diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-26 15:22:45 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-26 15:22:45 +0200 |
commit | 871dab6a8071694884cc03e4612739ad1b34a7be (patch) | |
tree | 32e325d14a99762d25860b488883e0cfe1b937dd /admin | |
parent | 4b454db4f0de0c9547a5f20ac33cd7adfcc3b34f (diff) | |
download | blog-871dab6a8071694884cc03e4612739ad1b34a7be.tar.gz blog-871dab6a8071694884cc03e4612739ad1b34a7be.tar.xz blog-871dab6a8071694884cc03e4612739ad1b34a7be.zip |
Use const to define expressionless admin constants
Diffstat (limited to 'admin')
-rw-r--r-- | admin/auth.php | 2 | ||||
-rw-r--r-- | admin/database.php | 4 | ||||
-rw-r--r-- | admin/index.php | 4 | ||||
-rw-r--r-- | admin/page/delete.php | 4 | ||||
-rw-r--r-- | admin/page/index.php | 4 | ||||
-rw-r--r-- | admin/page/insert.php | 4 | ||||
-rw-r--r-- | admin/page/search.php | 4 | ||||
-rw-r--r-- | admin/page/update.php | 4 | ||||
-rw-r--r-- | admin/post/delete.php | 4 | ||||
-rw-r--r-- | admin/post/index.php | 4 | ||||
-rw-r--r-- | admin/post/insert.php | 4 | ||||
-rw-r--r-- | admin/post/search.php | 4 | ||||
-rw-r--r-- | admin/post/update.php | 4 | ||||
-rw-r--r-- | admin/user/delete.php | 4 | ||||
-rw-r--r-- | admin/user/index.php | 4 | ||||
-rw-r--r-- | admin/user/insert.php | 4 | ||||
-rw-r--r-- | admin/user/update.php | 4 |
17 files changed, 33 insertions, 33 deletions
diff --git a/admin/auth.php b/admin/auth.php index 03460ba..5a3cc5f 100644 --- a/admin/auth.php +++ b/admin/auth.php @@ -2,7 +2,7 @@ #=============================================================================== # DEFINE: Administration #=============================================================================== -define('ADMINISTRATION', TRUE); +const ADMINISTRATION = TRUE; #=============================================================================== # INCLUDE: Initialization diff --git a/admin/database.php b/admin/database.php index 78d47c1..a257071 100644 --- a/admin/database.php +++ b/admin/database.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/index.php b/admin/index.php index c0383c4..09c126d 100644 --- a/admin/index.php +++ b/admin/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/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 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 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 |