base for simple/extended install-mode

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-05-11 16:26:09 +02:00
parent 56e4739b98
commit da0136650e
6 changed files with 44 additions and 15 deletions

View File

@@ -26,6 +26,8 @@
use Froxlor\UI\Panel\UI;
use Froxlor\Install\Install;
require dirname(__DIR__) . '/lib/functions.php';
// define default theme for configurehint, etc.
$_deftheme = 'Froxlor';
@@ -62,7 +64,5 @@ require dirname(__DIR__) . '/lib/tables.inc.php';
UI::initTwig(true);
UI::sendHeaders();
require dirname(__DIR__) . '/lib/functions.php';
$installer = new Install();
$installer->handle();