summaryrefslogtreecommitdiffstats
path: root/frontends/php/setup.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/setup.php')
-rw-r--r--frontends/php/setup.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/frontends/php/setup.php b/frontends/php/setup.php
index 5e2b4042..156845fa 100644
--- a/frontends/php/setup.php
+++ b/frontends/php/setup.php
@@ -101,7 +101,9 @@
?>
<?php
- $wizard = new CSetupWizard($ZBX_CONFIG);
+ global $ZBX_SETUP_WIZARD;
+
+ $ZBX_SETUP_WIZARD = new CSetupWizard($ZBX_CONFIG);
setcookie('ZBX_CONFIG', serialize($ZBX_CONFIG), time()+3600);
@@ -110,7 +112,7 @@ include_once "include/page_header.php";
insert_showhint_javascript();
echo BR;
- $wizard->Show();
+ $ZBX_SETUP_WIZARD->Show();
//SDI($ZBX_CONFIG);