Initial commit

Functional, without SSO
This commit is contained in:
Jimmy Monin
2016-09-18 11:03:26 +02:00
commit 57708e3169
253 changed files with 30787 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<?php
if (!is_file($config->getFilename())) {
header("LOCATION: ?mod=install");
exit;
}
if ($auth->getUsername() != "admin") {
header("HTTP/1.1 403 Forbidden");
exit;
}
$require_upgrade = false;
if (-1 == version_compare($config->get("general", "version"), APPLICATION_VERSION)) {
$require_upgrade = true;
}