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/post/delete.php | 2 +- admin/post/index.php | 2 +- admin/post/insert.php | 2 +- admin/post/update.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'admin/post') diff --git a/admin/post/delete.php b/admin/post/delete.php index af049fa..a5151ff 100644 --- a/admin/post/delete.php +++ b/admin/post/delete.php @@ -8,7 +8,7 @@ define('AUTHENTICATION', TRUE); #=============================================================================== # INCLUDE: Main configuration #=============================================================================== -require_once '../../core/application.php'; +require '../../core/application.php'; #=============================================================================== # TRY: Post\Exception diff --git a/admin/post/index.php b/admin/post/index.php index e3f0a9d..54ddd6c 100644 --- a/admin/post/index.php +++ b/admin/post/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('POST.LIST_SIZE'); $site_sort = Application::get('POST.LIST_SORT'); diff --git a/admin/post/insert.php b/admin/post/insert.php index ded732d..bcfb679 100644 --- a/admin/post/insert.php +++ b/admin/post/insert.php @@ -8,7 +8,7 @@ define('AUTHENTICATION', TRUE); #=============================================================================== # INCLUDE: Main configuration #=============================================================================== -require_once '../../core/application.php'; +require '../../core/application.php'; $Attribute = new Post\Attribute(); diff --git a/admin/post/update.php b/admin/post/update.php index 7b14cee..109c056 100644 --- a/admin/post/update.php +++ b/admin/post/update.php @@ -8,7 +8,7 @@ define('AUTHENTICATION', TRUE); #=============================================================================== # INCLUDE: Main configuration #=============================================================================== -require_once '../../core/application.php'; +require '../../core/application.php'; #=============================================================================== # TRY: Post\Exception -- cgit v1.2.3