]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix file path in apps/media/ajax/api.php
authorGeorg Ehrke <dev@georgswebsite.de>
Mon, 23 Apr 2012 18:01:48 +0000 (20:01 +0200)
committerGeorg Ehrke <dev@georgswebsite.de>
Mon, 23 Apr 2012 18:01:48 +0000 (20:01 +0200)
apps/media/ajax/api.php

index 72235bf5db8c7934a84e890374fd1c563f8810d9..9c7b3efce759ef7320f26024d59f2f136b06d666 100644 (file)
 
 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;
        }
 }
-
-?>
+?>
\ No newline at end of file