Переглянути джерело

Merge branch 'installer_script' of https://github.com/1day2die/dashboard into installer_script

1Day 3 роки тому
батько
коміт
a97760c5a5
2 змінених файлів з 5 додано та 10 видалено
  1. 1 1
      public/install/forms.php
  2. 4 9
      public/install/index.php

+ 1 - 1
public/install/forms.php

@@ -64,7 +64,7 @@ if (isset($_POST['checkGeneral'])) {
 
 }
 
-if (isset($_POST['installComposer'])) {
+if (isset($_POST['feedDB'])) {
     $logs = "";
 
     #$logs .= run_console(putenv('COMPOSER_HOME=' . dirname(__FILE__, 3) . '/vendor/bin/composer'));

+ 4 - 9
public/install/index.php

@@ -173,7 +173,7 @@ echo $cardheader;
     if (isset($_GET['step']) && $_GET['step'] == 2.5) {
     echo $cardheader;
     ?>
-    <p class="login-box-msg">Lets install Composer and generate some security keys!</p>
+    <p class="login-box-msg">Lets feed your Database and generate some security keys!</p>
     <p> This process might take a while. Please do not refresh or close this page!</p>
     <?php if (isset($_GET['message'])) {
         echo "<p class='notok'>" . $_GET['message'] . "</p>";
@@ -182,10 +182,10 @@ echo $cardheader;
     ?>
 
     <form method="POST" enctype="multipart/form-data" class="mb-3"
-          action="/install/forms.php" name="installComposer">
+          action="/install/forms.php" name="feedDB">
 
 
-        <button class="btn btn-primary" name="installComposer">Submit</button>
+        <button class="btn btn-primary" name="feedDB">Submit</button>
         </div>
         </div>
 
@@ -316,8 +316,6 @@ echo $cardheader;
                     </div>
 
                     <button class="btn btn-primary" name="checkSMTP">Submit</button>
-                    <a href="?step=5"><button class="btn btn-warning">Skip this step</button></a>
-
                 </div>
                 </div>
 
@@ -370,10 +368,7 @@ echo $cardheader;
 
                         </div>
 
-                        <button <?php if (!isset($_GET['exec'])) {
-                            echo "disabled";
-                        } ?> class="btn btn-primary" name="checkPtero">Submit
-                        </button>
+                        <button  class="btn btn-primary" name="checkPtero">Submit</button>
                     </div>
                     </div>