File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,12 @@ public function execute() {
98
98
// these two vars used by install-head.inc
99
99
$ title = "ProcessWire " . PROCESSWIRE_INSTALL . " Installer " ;
100
100
$ formAction = "./install.php " ;
101
-
102
- require ("./wire/modules/AdminTheme/AdminThemeUikit/install-head.inc " );
103
-
104
101
$ step = $ this ->post ('step ' );
105
102
103
+ if ($ step === '5 ' ) require ('./index.php ' );
104
+
105
+ require ("./wire/modules/AdminTheme/AdminThemeUikit/install-head.inc " );
106
+
106
107
if ($ step === null ) {
107
108
$ this ->welcome ();
108
109
} else {
@@ -112,7 +113,7 @@ public function execute() {
112
113
case 1 : $ this ->compatibilityCheck (); break ;
113
114
case 2 : $ this ->dbConfig (); break ;
114
115
case 4 : $ this ->dbSaveConfig (); break ;
115
- case 5 : require ( " ./index.php " );
116
+ case 5 :
116
117
/** @var ProcessWire $wire */
117
118
$ wire ->modules ->refresh ();
118
119
$ this ->adminAccountSave ($ wire );
You can’t perform that action at this time.
0 commit comments