summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rwxr-xr-x[-rw-r--r--]admin/index.php2
-rwxr-xr-x[-rw-r--r--]admin/subscriptions.php8
2 files changed, 3 insertions, 7 deletions
diff --git a/admin/index.php b/admin/index.php
index b075206..1a43020 100644..100755
--- a/admin/index.php
+++ b/admin/index.php
@@ -1,7 +1,7 @@
<?php
require_once dirname(__FILE__) . '/inc/auth.inc.php';
-require_once(dirname(__FILE__) . '/../app/classes/Planet.class.php');
+require_once dirname(__FILE__) . '/../app/app.php';
//Load configuration
$config_file = dirname(__FILE__) . '/../custom/config.yml';
diff --git a/admin/subscriptions.php b/admin/subscriptions.php
index 0b25bde..ea2f113 100644..100755
--- a/admin/subscriptions.php
+++ b/admin/subscriptions.php
@@ -1,10 +1,6 @@
<?php
-require_once dirname(__FILE__).'/inc/auth.inc.php';
-
-include_once(dirname(__FILE__).'/../app/classes/Planet.class.php');
-include_once(dirname(__FILE__).'/../app/lib/spyc-0.5/spyc.php');
-require_once dirname(__FILE__).'/../app/lib/lib.opml.php';
-require_once dirname(__FILE__).'/../app/lib/simplepie/simplepie.inc';
+require_once dirname(__FILE__) . '/inc/auth.inc.php';
+require_once dirname(__FILE__) . '/../app/app.php';
function removeSlashes(&$item, $key){
$item = stripslashes($item);