Merge pull request #6057 from nextcloud/fix-require-once
Fix require once for actionInclude
This commit is contained in:
commit
073216e827
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue