summaryrefslogtreecommitdiffstats
path: root/system/post/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/post/list.php')
-rw-r--r--system/post/list.php5
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');