diff --git a/remote.php b/remote.php index 8c02c24e2a33fd164c1acfce4bb7d296b2b965ba..8461eea19ada063631ff64b7994aae570ce3d918 100644 --- a/remote.php +++ b/remote.php @@ -23,6 +23,8 @@ if(is_null($file)){ exit; } +$file=ltrim($file,'/'); + $parts=explode('/', $file, 2); $app=$parts[0]; switch ($app) {