diff options
Diffstat (limited to 'admin/category/index.php')
-rw-r--r-- | admin/category/index.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/category/index.php b/admin/category/index.php index 35a78c3..fd7eef6 100644 --- a/admin/category/index.php +++ b/admin/category/index.php @@ -2,8 +2,8 @@ #=============================================================================== # DEFINE: Administration #=============================================================================== -const ADMINISTRATION = TRUE; -const AUTHENTICATION = TRUE; +const ADMINISTRATION = true; +const AUTHENTICATION = true; #=============================================================================== # INCLUDE: Initialization @@ -33,7 +33,7 @@ if($count === 0) { HTTP::redirect(Application::getAdminURL('category/insert.php')); } -if($currentSite < 1 OR ($currentSite > $lastSite AND $lastSite > 0)) { +if($currentSite < 1 or ($currentSite > $lastSite and $lastSite > 0)) { Application::error404(); } @@ -44,7 +44,7 @@ $categories = $CategoryRepository->getPaginatedTree( $site_size, ($currentSite-1) * $site_size); foreach($categories as $Category) { - $templates[] = generateCategoryItemTemplate($Category, TRUE); + $templates[] = generateCategoryItemTemplate($Category, true); } #=============================================================================== |