From ebd0e986ed11f2a34fb58cdd33efbfab192083ad Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Fri, 22 Apr 2016 05:26:17 -0400 Subject: [PATCH] Added PHP 7 check in installer and updater. --- interface/web/admin/index.php | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/interface/web/admin/index.php b/interface/web/admin/index.php index 3691df1..7cbfddb 100644 --- a/interface/web/admin/index.php +++ b/interface/web/admin/index.php @@ -34,14 +34,14 @@ var $target = ''; function render() { - + global $app; - + $app->uses('tpl'); $app->tpl->newTemplate("form.tpl.htm"); - $app->tpl->setVar('error',$error); - $app->tpl->setInclude('content_tpl','admin/templates/index.htm'); + $app->tpl->setVar('error', $error); + $app->tpl->setInclude('content_tpl', 'admin/templates/index.htm'); return $app->tpl->grab(); /* $filename = 'test.txt'; @@ -69,10 +69,11 @@ - + return 'dd'; */ } + } -?> \ No newline at end of file +?> -- Gitblit v1.9.1