summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-07 17:34:29 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-07 17:34:29 +0100
commitfa0e38ebff81a02f89bd4493627c49bbc48bc93b (patch)
treee29baae5ea6d4ca5888125063a0ea6da9a6c0ddf /public
parent156db1eadd905c7ee4c7c37dc246c8c689ae2396 (diff)
add shift create model
Diffstat (limited to 'public')
-rw-r--r--public/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/public/index.php b/public/index.php
index 0ba203b0..cd77f9f3 100644
--- a/public/index.php
+++ b/public/index.php
@@ -82,7 +82,7 @@ $free_pages = array(
'api',
'credits',
'angeltypes',
- 'users'
+ 'users'
);
// Gewünschte Seite/Funktion
@@ -91,10 +91,10 @@ if (! isset($_REQUEST['p']))
$_REQUEST['p'] = isset($user) ? "news" : "login";
if (isset($_REQUEST['p']) && preg_match("/^[a-z0-9_]*$/i", $_REQUEST['p']) && (in_array($_REQUEST['p'], $free_pages) || in_array($_REQUEST['p'], $privileges))) {
$p = $_REQUEST['p'];
-
+
$title = $p;
$content = "";
-
+
if ($p == "api") {
require_once realpath(__DIR__ . '/../includes/controller/api.php');
error("Api disabled temporily.");
@@ -222,7 +222,7 @@ echo template_render('../templates/layout.html', array(
'content' => msg() . $content,
'header_toolbar' => header_toolbar(),
'faq_url' => $faq_url,
- 'locale' => $_SESSION['locale']
+ 'locale' => $_SESSION['locale']
));
counter();