fix file path in apps/media/ajax/api.php

This commit is contained in:
Georg Ehrke 2012-04-23 20:01:48 +02:00
parent 42a570788b
commit d1110c62ef
1 changed files with 3 additions and 5 deletions

View File

@ -23,10 +23,9 @@
header('Content-type: text/html; charset=UTF-8') ;
OC_JSON::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');
error_reporting(E_ALL); //no script error reporting because of getID3
@ -127,5 +126,4 @@ if($arguments['action']){
exit;
}
}
?>
?>