summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2012-10-13 05:03:05 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2012-10-13 05:03:05 +0200
commite5980c81413db26e42a2503cc751e1e03b9aa8b1 (patch)
tree7e3393e33e3969e6d2b370a293c073ec3d987bfd /index.php
parent4b5f94b435b4756e3aa9e1a3fad3820ce1389ba8 (diff)
fixed bug that prevented creating of folders, linted menu.js, fixed weird html escaping for feed titles, removed all database queries from templates
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index f4c63d01c..57e782a37 100644
--- a/index.php
+++ b/index.php
@@ -11,8 +11,8 @@
*
*/
-require_once('controllers/controller.php');
-require_once('controllers/news.controller.php');
+require_once(OC_App::getAppPath('news') . '/controllers/controller.php');
+require_once(OC_App::getAppPath('news') . '/controllers/news.controller.php');
OCP\User::checkLoggedIn();
OCP\App::checkAppEnabled('news');