summaryrefslogtreecommitdiffstats
path: root/apps/media/index.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-26 15:23:17 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-26 15:23:17 +0200
commitebd82ee772ee32dc6fda37c377106f19a30922bf (patch)
tree19797f8598fa3fefc70bf4eacb39ccc66c984173 /apps/media/index.php
parent2c92a79b5d04d46d9cb13a0e8a12c16a72a5d499 (diff)
downloadnextcloud-server-ebd82ee772ee32dc6fda37c377106f19a30922bf.tar.gz
nextcloud-server-ebd82ee772ee32dc6fda37c377106f19a30922bf.zip
fixes for media app
Diffstat (limited to 'apps/media/index.php')
-rw-r--r--apps/media/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/media/index.php b/apps/media/index.php
index f51d62b77cd..cdb347628bf 100644
--- a/apps/media/index.php
+++ b/apps/media/index.php
@@ -28,8 +28,8 @@
OC_Util::checkLoggedIn();
OC_Util::checkAppEnabled('media');
-require_once('lib_collection.php');
-require_once('lib_scanner.php');
+require_once(OC::$APPSROOT . '/apps/media/lib_collection.php');
+require_once(OC::$APPSROOT . '/apps/media/lib_scanner.php');
OC_Util::addScript('media','player');
OC_Util::addScript('media','music');