From 013e9c27d2e9647c719b05a5119670d976b46202 Mon Sep 17 00:00:00 2001 From: kondou Date: Wed, 2 Oct 2013 12:21:52 +0200 Subject: Fix require in apps/files/ajax/rawlist.php --- apps/files/ajax/rawlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/ajax/rawlist.php b/apps/files/ajax/rawlist.php index 531481a84c0..b9890554197 100644 --- a/apps/files/ajax/rawlist.php +++ b/apps/files/ajax/rawlist.php @@ -5,7 +5,7 @@ $RUNTIME_APPTYPES=array('filesystem'); // Init owncloud -require_once 'lib/template.php'; +require_once 'lib/private/template.php'; OCP\JSON::checkLoggedIn(); -- cgit v1.2.3 From feb7028a7845cca43ae5be8edc6000145c7d9cdd Mon Sep 17 00:00:00 2001 From: kondou Date: Wed, 2 Oct 2013 12:45:30 +0200 Subject: Remove require in rawlist.php Thanks @tanghus for pointing out the unneccessity of it. --- apps/files/ajax/rawlist.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/files/ajax/rawlist.php b/apps/files/ajax/rawlist.php index b9890554197..40da32b223a 100644 --- a/apps/files/ajax/rawlist.php +++ b/apps/files/ajax/rawlist.php @@ -3,10 +3,6 @@ // only need filesystem apps $RUNTIME_APPTYPES=array('filesystem'); -// Init owncloud - -require_once 'lib/private/template.php'; - OCP\JSON::checkLoggedIn(); // Load the files -- cgit v1.2.3