diff --git a/remote.php b/remote.php index 8c02c24e2a3..8461eea19ad 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) {