File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ public function requiredExtensions()
113113 'phpExtensions ' => $ this ->phpExtensions ,
114114 'supported ' => $ this ->support ,
115115 'symlink ' => $ this ->symlink ,
116- 'next_step_url ' => $ this ->getNextStep ()
116+ 'next_step_url ' => $ this ->support ? $ this -> getNextStep () : route ( ' installer.require ' ),
117117 ]);
118118 }
119119
@@ -274,7 +274,7 @@ public function getNextStep(): string
274274 if (file_exists (storage_path ('framework/installer-step.php ' ))) {
275275 unlink (storage_path ('framework/installer-step.php ' ));
276276 }
277-
277+
278278 Session::flush ();
279279
280280 return url (config ('installer.redirect ' ));
@@ -283,7 +283,7 @@ public function getNextStep(): string
283283
284284 public function getCurrentStep ()
285285 {
286- return file_get_contents (storage_path ('framework/installer-step.php ' ));
286+ return file_exists ( storage_path ( ' framework/installer-step.php ' )) ? file_get_contents (storage_path ('framework/installer-step.php ' )) : null ;
287287 }
288288
289289 public function fetchNextStep ()
You can’t perform that action at this time.
0 commit comments