Move setupWizard.json one directory down
This commit is contained in:
parent
5b890b4697
commit
c930b75071
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
require_once("Wizard.php");
|
||||
|
||||
$wizard = new Wizard();
|
||||
$wizard = new Wizard("../setupWizard.json");
|
||||
|
||||
$wizard->addCode('basedata',function($storedvariables){
|
||||
$basedata['eventname'] = $_POST['eventname'];
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ class Wizard {
|
|||
private array $steps = array();
|
||||
private string $footer = "";
|
||||
private array $storedvariables = array();
|
||||
public function __construct($json_file = 'setupWizard.json'){
|
||||
public function __construct($json_file = '../wizard.json'){
|
||||
$stepsArray = json_decode(file_get_contents($json_file), true);
|
||||
$this->header = $stepsArray['header'];
|
||||
$this->firststep = $stepsArray['firststep'];
|
||||
|
|
|
|||
Loading…
Reference in New Issue