diff options
author | Thomas Lange <code@nerdmind.de> | 2017-03-10 21:46:12 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-03-10 21:46:12 +0100 |
commit | e33c245d910e55b8cab407a03e669470509a705d (patch) | |
tree | e958504564ab47e72e0d3dcfe0b967440007b1d9 /system/post/list.php | |
parent | aae885b9784466ab412e4010893808867e93c213 (diff) | |
download | blog-1.1.tar.gz blog-1.1.tar.xz blog-1.1.zip |
Several changes have been made in this commit, which together with the previous commits result in version 1.1:v1.1
+ The rules for the Apache and nginx configuration have been changed and redirects now all requests to the index.php.
+ A router class has been added which now handles all requests that arrives at the application on the index.php.
+ Short-hand functions "PAGE", "POST" and "USER" for use in templates added to get specific item data by ID.
+ More language variables have been added to the core language.
Diffstat (limited to 'system/post/list.php')
-rw-r--r-- | system/post/list.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/post/list.php b/system/post/list.php index a7d6ce7..7b0630c 100644 --- a/system/post/list.php +++ b/system/post/list.php @@ -1,8 +1,9 @@ <?php #=============================================================================== -# INCLUDE: Main configuration +# Get instances #=============================================================================== -require_once '../../core/application.php'; +$Database = Application::getDatabase(); +$Language = Application::getLanguage(); $site_size = Application::get('POST.LIST_SIZE'); $site_sort = Application::get('POST.LIST_SORT'); |