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