]> git.datanom.net - qtadmin.git/commitdiff
New index page
authorMichael Rasmussen <mir@datanom.net>
Wed, 24 Jun 2015 18:29:29 +0000 (20:29 +0200)
committerMichael Rasmussen <mir@datanom.net>
Wed, 24 Jun 2015 18:29:29 +0000 (20:29 +0200)
index.php [new file with mode: 0644]

diff --git a/index.php b/index.php
new file mode 100644 (file)
index 0000000..f9a4eb4
--- /dev/null
+++ b/index.php
@@ -0,0 +1,29 @@
+<?php
+/* vim: set ts=4 tw=0 sw=4 noet: */
+    require_once 'config.php';
+    require_once $CFG->root . 'lib/utils.inc.php';
+
+    $util = new Utils;
+
+    if ($util->isLoggedIn()) {
+        $util->setHeading('Quarantine Administration');
+        echo $util->getHeader();
+        echo $util->getHeading();
+        echo "<p>
+               <a href="qtadmin.php" title="Quarantine Administration">Quarantine Administration</a>
+               </p>";
+        echo $util->getFooter();
+    } else {
+        header('Location: auth.php');
+    }
+?>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8" />
+<title>Whitelist/Blacklist administration</title>
+</head>
+<body>
+
+</body>
+</html>
\ No newline at end of file
This page took 0.032591 seconds and 5 git commands to generate.