mirror of
https://github.com/ZeJMaN/LBCAlerte_ynh.git
synced 2025-06-08 05:25:30 +02:00
11 lines
247 B
PHP
11 lines
247 B
PHP
<?php
|
|
|
|
if (is_file($config->getFilename()) && !isset($_GET["success"])) {
|
|
header("LOCATION: ?mod=install&a=upgrade");
|
|
exit;
|
|
}
|
|
|
|
if ($action == "upgrade" && $auth->getUsername() != "admin") {
|
|
header("HTTP/1.1 403 Forbidden");
|
|
exit;
|
|
} |