update api and ajax handling and response
This commit is contained in:
@@ -53,10 +53,10 @@ require __DIR__ . '/lib/class.FroxlorInstall.php';
|
||||
use Froxlor\UI\Panel\UI;
|
||||
|
||||
UI::initTwig(true);
|
||||
UI::Twig()->addGlobal('install_mode', '1');
|
||||
UI::Twig()->addGlobal('basehref', '../');
|
||||
UI::twig()->addGlobal('install_mode', '1');
|
||||
UI::twig()->addGlobal('basehref', '../');
|
||||
|
||||
$frxinstall = new FroxlorInstall();
|
||||
$frxinstall->run();
|
||||
|
||||
UI::TwigOutputBuffer();
|
||||
UI::twigOutputBuffer();
|
||||
|
||||
@@ -133,7 +133,7 @@ class FroxlorInstall
|
||||
$pagecontent = $result['pagecontent'];
|
||||
$pagenavigation = $result['pagenavigation'];
|
||||
|
||||
UI::TwigBuffer('/install/index.html.twig', [
|
||||
UI::twigBuffer('/install/index.html.twig', [
|
||||
'pagetitle' => $pagetitle,
|
||||
'pagecontent' => $pagecontent,
|
||||
'pagenavigation' => $pagenavigation
|
||||
|
||||
Reference in New Issue
Block a user