Explorar el Código

settings lazy fix

Cerothen hace 9 años
padre
commit
c1bee1e13c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      settings.php

+ 2 - 2
settings.php

@@ -278,7 +278,7 @@ endif;
 if($action == 'createLocation' || $action == 'homepageSettings') {
 	unset($_POST['action']);
 	updateConfig($_POST);
-	echo "<script>window.parent.location.reload(true);</script>";
+	echo "<script>setTimeout(function() {window.location.href = window.location.href},1500);</script>";
 }
                 
 if(!isset($_POST['op'])) :
@@ -1800,7 +1800,7 @@ endif;?></textarea>
                                                                 
                                                                 <div class="form-group">
 
-                                                                    <input type="text" class="form-control material input-sm" name="databaseLocation" placeholder="<?php echo $language->translate("DATABASE_PATH");?>" autocorrect="off" autocapitalize="off" value="<?php echo DATABASE_LOCATION;?>">
+                                                                    <input type="text" class="form-control material input-sm" name="database_Location" placeholder="<?php echo $language->translate("DATABASE_PATH");?>" autocorrect="off" autocapitalize="off" value="<?php echo DATABASE_LOCATION;?>">
                                                                     <p class="help-text"><?php echo $language->translate("DATABASE_PATH");?></p>
 
                                                                 </div>