From 4802aeada5b8fde0848852ee56454c887738ead4 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 11 Apr 2017 22:51:24 +0200 Subject: The control structures "require_once" have been replaced by a simple "require" (except within the 403.php and 404.php where it makes sense, because these files can be directly called or included). --- admin/page/delete.php | 2 +- admin/page/index.php | 2 +- admin/page/insert.php | 2 +- admin/page/update.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'admin/page') diff --git a/admin/page/delete.php b/admin/page/delete.php index 564273f..de9ac21 100644 --- a/admin/page/delete.php +++ b/admin/page/delete.php @@ -8,7 +8,7 @@ define('AUTHENTICATION', TRUE); #=============================================================================== # INCLUDE: Main configuration #=============================================================================== -require_once '../../core/application.php'; +require '../../core/application.php'; #=============================================================================== # TRY: Page\Exception diff --git a/admin/page/index.php b/admin/page/index.php index 9dd5da1..1405ff4 100644 --- a/admin/page/index.php +++ b/admin/page/index.php @@ -8,7 +8,7 @@ define('AUTHENTICATION', TRUE); #=============================================================================== # INCLUDE: Main configuration #=============================================================================== -require_once '../../core/application.php'; +require '../../core/application.php'; $site_size = Application::get('PAGE.LIST_SIZE'); $site_sort = Application::get('PAGE.LIST_SORT'); diff --git a/admin/page/insert.php b/admin/page/insert.php index 367c154..fc89b20 100644 --- a/admin/page/insert.php +++ b/admin/page/insert.php @@ -8,7 +8,7 @@ define('AUTHENTICATION', TRUE); #=============================================================================== # INCLUDE: Main configuration #=============================================================================== -require_once '../../core/application.php'; +require '../../core/application.php'; $Attribute = new Page\Attribute(); diff --git a/admin/page/update.php b/admin/page/update.php index 83a1e54..a5e723e 100644 --- a/admin/page/update.php +++ b/admin/page/update.php @@ -8,7 +8,7 @@ define('AUTHENTICATION', TRUE); #=============================================================================== # INCLUDE: Main configuration #=============================================================================== -require_once '../../core/application.php'; +require '../../core/application.php'; #=============================================================================== # TRY: Page\Exception -- cgit v1.2.3