diff options
Diffstat (limited to 'lib/route.php')
-rw-r--r-- | lib/route.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/route.php b/lib/route.php index 89af829d3d3..d5233d79861 100644 --- a/lib/route.php +++ b/lib/route.php @@ -106,7 +106,11 @@ class OC_Route extends Route { * @param $file */ public function actionInclude($file) { - $function = create_function('$param', 'unset($param["_route"]);$_GET=array_merge($_GET,$param);unset($param);require_once "'.$file.'";'); + $function = create_function('$param', + 'unset($param["_route"]);' + .'$_GET=array_merge($_GET,$param);' + .'unset($param);' + .'require_once "'.$file.'";'); $this->action($function); } } |