diff options
Diffstat (limited to 'remote.php')
-rw-r--r-- | remote.php | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |