summaryrefslogtreecommitdiffstats
path: root/system/page/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/page/list.php')
-rw-r--r--system/page/list.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/page/list.php b/system/page/list.php
index 5d07d30..7c3956e 100644
--- a/system/page/list.php
+++ b/system/page/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('PAGE.LIST_SIZE');
$site_sort = Application::get('PAGE.LIST_SORT');