This commit is contained in:
naielv
2026-03-07 19:51:48 +01:00
parent 9fed6f9af9
commit b2c1314c69
2 changed files with 2 additions and 2 deletions

View File

@@ -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
View 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();
}