Fixed path if components were removed
authorAlexander Ebert <ebert@woltlab.com>
Thu, 3 Nov 2011 14:31:16 +0000 (15:31 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 3 Nov 2011 14:31:16 +0000 (15:31 +0100)
wcfsetup/install/files/lib/system/request/RouteHandler.class.php

index c814fa8ed8b66d570eb09d0d52fc7e342d58fa54..917ac9f84464289b69dbc6bf15b292b504ee1297 100644 (file)
@@ -194,7 +194,7 @@ class RouteHandler extends SingletonFactory {
                                }
                        }
                        
-                       return implode('/', $path) . '/';
+                       return '/' . implode('/', $path) . '/';
                }
                
                return self::$path;