diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-08-10 07:52:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-10 07:52:21 +0200 |
commit | 073216e8278983abef6ac51d6e0a900f95af0024 (patch) | |
tree | f88f63e7ec6219194c719c8e52c6ab74b8b06757 | |
parent | 0ef9f943b26059a3d6283f888278534f1b2e1fec (diff) | |
parent | 5aa25fcdd50c3917f41ce63268e36714ce272eda (diff) | |
download | nextcloud-server-073216e8278983abef6ac51d6e0a900f95af0024.tar.gz nextcloud-server-073216e8278983abef6ac51d6e0a900f95af0024.zip |
Merge pull request #6057 from nextcloud/fix-require-once
Fix require once for actionInclude
-rw-r--r-- | lib/private/Route/Route.php | 2 |
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); } |