update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once "_incl/db.php";
|
||||
if (db_get_config('installed') === '1') {
|
||||
if (strval(db_get_config('installed')) === '1') {
|
||||
header("Location: /");
|
||||
die();
|
||||
}
|
||||
|
||||
2
public_html/_login.php
Executable file → Normal file
2
public_html/_login.php
Executable file → Normal file
@@ -173,7 +173,7 @@ if (isset($_POST["user"])) {
|
||||
$_GET["_result"] = "La contraseña no es correcta.";
|
||||
}
|
||||
}
|
||||
if (db_get_config('installed') !== '1') {
|
||||
if (strval(db_get_config('installed')) !== '1') {
|
||||
header("Location: /_install.php");
|
||||
die();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user