Introduzione modalita' sviluppatore e vari change
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
include_once __DIR__ . '/../config/config.php';
|
||||
session_start();
|
||||
if (!isset($_SESSION['admin'])) {
|
||||
header("Location: login.php");
|
||||
@@ -44,6 +45,11 @@ if (!isset($_SESSION['admin'])) {
|
||||
Nota: Questa pagina si vede meglio da computer desktop. Se sei da computer, puoi ignorare questo messaggio.
|
||||
</p>
|
||||
<p style="text-align: center;">Copyright (C) 2025 EmmeV. - Released under <a href="https://git.vichingo455.freeddns.org/emmev-code/orario/src/branch/stable/LICENSE.txt" target="_blank">GNU AGPL 3.0 License</a>.</p>
|
||||
<?php
|
||||
if (DEV_MODE) {
|
||||
echo "<p>[DEBUG] Tipo di autenticazione: " . $_SESSION['auth_type'] . "</p>";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user