remote.php 322 B

123456789101112
  1. <?php
  2. // only need filesystem apps
  3. $RUNTIME_APPTYPES=array('filesystem','authentication');
  4. OC_App::loadApps($RUNTIME_APPTYPES);
  5. if($path_info == '/ampache' || $path_info == '/ampache/'){
  6. require_once(OC::$APPSROOT . '/apps/media/index.php');
  7. }else{
  8. require_once(OC::$APPSROOT . '/apps/media/server/xml.server.php');
  9. }