diff options
author | RaindropsSys <contact@minteck.org> | 2023-03-21 16:21:21 +0100 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-03-21 16:21:21 +0100 |
commit | 475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd (patch) | |
tree | 2cff46debf9c1e13892e7babff9deb6874ecb4b2 /pages/login.inc | |
parent | 7ccc2de87f9e25c715dc09b9aba4eb5c66f80424 (diff) | |
download | pluralconnect-475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd.tar.gz pluralconnect-475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd.tar.bz2 pluralconnect-475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd.zip |
Updated 26 files and added 1074 files (automated)
Diffstat (limited to 'pages/login.inc')
-rw-r--r-- | pages/login.inc | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/pages/login.inc b/pages/login.inc index 313be91..1522ab3 100644 --- a/pages/login.inc +++ b/pages/login.inc @@ -1,25 +1,18 @@ <?php -require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $title; global $isLoggedIn; global $lang; global $pages; -require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; global $readOnly; global $isNormallyLoggedIn; - if (isset($_GET["return"])) { setcookie("PEH2_RETURN_PAGE", $_GET["return"], 0, "/"); } +if (isset($_GET["immediate"])) { + header("Location: /auth/init"); + die(); +} + +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.inc"; global $title; global $isLoggedIn; global $lang; global $pages; +require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; global $readOnly; global $isNormallyLoggedIn; -if (isset($_GET["mini"])) { ?> -<style> - #navigation-pane, #title-bar, #footer, #titlebar-separator, #mobile-navigation, #global-search-container { - display: none !important; - } - - body { - margin-left: 0 !important; - } -</style> -<?php } ?> <br> <div class="container"> |