Continued:
- some spaces added - removed parentheses as requested by @Hypolite - added really important TODO as remote-inclusion is not what you want Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
0e19fdfc71
commit
084dbd6859
1 changed files with 4 additions and 3 deletions
|
@ -511,7 +511,8 @@ if (!$template) {
|
||||||
$template = theme_include("default.php");
|
$template = theme_include("default.php");
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once($template);
|
/// @TODO Looks unsafe (remote-inclusion), is maybe not but theme_include() uses file_exists() but does not escape anything
|
||||||
|
require_once $template;
|
||||||
|
|
||||||
if (!$a->is_backend()) {
|
if (!$a->is_backend()) {
|
||||||
session_write_close();
|
session_write_close();
|
||||||
|
|
Loading…
Reference in a new issue