use namespaces in modules

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-18 13:45:05 +01:00
parent 9d314aaa3f
commit 6329042d40
43 changed files with 203 additions and 96 deletions

View File

@@ -3,6 +3,10 @@ if (! defined('AREA')) {
header("Location: index.php");
exit();
}
use Froxlor\Database as Database;
use Froxlor\Settings as Settings;
if (Settings::Get('2fa.enabled') != '1') {
dynamic_error("2FA not activated");
}