2012-05-07 18:25:44 +00:00
|
|
|
<?php
|
2012-05-13 22:28:22 +00:00
|
|
|
|
|
|
|
// only need filesystem apps
|
|
|
|
$RUNTIME_APPTYPES=array('filesystem','authentication');
|
|
|
|
OC_App::loadApps($RUNTIME_APPTYPES);
|
|
|
|
|
2012-05-07 18:25:44 +00:00
|
|
|
if($path_info == '/ampache' || $path_info == '/ampache/'){
|
|
|
|
require_once(OC::$APPSROOT . '/apps/media/index.php');
|
|
|
|
}else{
|
|
|
|
require_once(OC::$APPSROOT . '/apps/media/server/xml.server.php');
|
|
|
|
}
|