summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-08-09 23:51:48 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-08-09 23:51:49 +0200
commit5aa25fcdd50c3917f41ce63268e36714ce272eda (patch)
treed3e828712db00a43d2ce1ce1727b033deb2c29f9 /lib
parent0b1a1a58e6c99d6c4331236bb9e5d80caa74bde0 (diff)
downloadnextcloud-server-5aa25fcdd50c3917f41ce63268e36714ce272eda.tar.gz
nextcloud-server-5aa25fcdd50c3917f41ce63268e36714ce272eda.zip
Fix require once for actionInclude
* regression from #5791 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Route/Route.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Route/Route.php b/lib/private/Route/Route.php
index c25d08e8bc2..7fa630a89fa 100644
--- a/lib/private/Route/Route.php
+++ b/lib/private/Route/Route.php
@@ -152,7 +152,7 @@ class Route extends SymfonyRoute implements IRoute {
unset($param["_route"]);
$_GET=array_merge($_GET, $param);
unset($param);
- require_once "'.$file.'";
+ require_once "$file";
} ;
$this->action($function);
}