up
This commit is contained in:
@@ -7,11 +7,8 @@
|
||||
|
||||
require_once 'config/config.php';
|
||||
|
||||
// Verificar si la instalación está completada
|
||||
if (!isInstallationCompleted()) {
|
||||
header('Location: install.php');
|
||||
exit('Sistema no instalado. <a href="install.php">Instalar ahora</a>');
|
||||
}
|
||||
// Con Docker, la instalación siempre está completada
|
||||
// El archivo .installation_completed se crea automáticamente o no es necesario
|
||||
|
||||
// Si ya está logueado, redirigir al panel
|
||||
if (isUserLoggedIn()) {
|
||||
@@ -320,5 +317,10 @@ if ($_POST && !$loginBlocked) {
|
||||
});
|
||||
<?php endif; ?>
|
||||
</script>
|
||||
|
||||
<!-- Footer U-Site -->
|
||||
<footer style="position: fixed; bottom: 0; left: 0; right: 0; background: transparent; padding: 15px; text-align: center; font-size: 12px; color: rgba(255,255,255,0.6);">
|
||||
Desarrollado con 💚 por <a href="https://u-site.app" target="_blank" style="color: #25d366; text-decoration: none; font-weight: 600;">U-Site.app</a>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user