diff --git a/core/trunk/core/class/class_core_tools.php b/core/trunk/core/class/class_core_tools.php index d3a6c73cd1a1bea92ac24d0c50117f6c5aae02a7..fc333ac5ac8ab13f9913f3f4c44852fa7007e96e 100644 --- a/core/trunk/core/class/class_core_tools.php +++ b/core/trunk/core/class/class_core_tools.php @@ -504,8 +504,7 @@ class core_tools extends functions if ($logout) { echo '<li onmouseover="this.className=\'on\';" onmouseout="this.className=\'\';"> <a href="'.$_SESSION['config']['businessappurl'] - . 'index.php?display=true&page=logout&coreurl=' - . $_SESSION['config']['coreurl'].'&logout=true"><span><span style="width:30px;height:30px;display:inline-block;text-align:center;"><i class="fa fa-power-off fa-2x"></i></span><span>'._LOGOUT.'</span></span></a></li>'; + . 'index.php?display=true&page=logout&logout=true"><span><span style="width:30px;height:30px;display:inline-block;text-align:center;"><i class="fa fa-power-off fa-2x"></i></span><span>'._LOGOUT.'</span></span></a></li>'; } } @@ -715,8 +714,7 @@ class core_tools extends functions echo '</a>'; echo '<a style="display: inline-block;width: 45%;float: left;" href="' . $_SESSION['config']['businessappurl'] - . 'index.php?display=true&page=logout&coreurl=' - . $_SESSION['config']['coreurl'].'&logout=true">'; + . 'index.php?display=true&page=logout&logout=true">'; echo '<span>'; echo '<span style="width:30px;height:30px;display:inline-block;text-align:center;">' .'<i class="fa fa-power-off fa-2x mCdarkGrey"></i></span>'; diff --git a/core/trunk/core/class/class_security.php b/core/trunk/core/class/class_security.php index ba7a3ee3b6a59cf95789e0f8bf123ad581ef041d..cc8bfe9b7027937f919c2d7416974e519efcc8d9 100644 --- a/core/trunk/core/class/class_security.php +++ b/core/trunk/core/class/class_security.php @@ -315,8 +315,7 @@ class security extends dbquery return array( 'user' => $array, 'error' => $error, - 'url' => 'index.php?display=true&page=login&coreurl=' - . $_SESSION['config']['coreurl'] + 'url' => 'index.php?display=true&page=login' ); } } @@ -439,7 +438,7 @@ class security extends dbquery else { $_SESSION['error'] = _ERROR; - header("location: ".$_SESSION['config']['businessappurl']."index.php?display=true&page=login&coreurl=".$_SESSION['config']['coreurl']); + header("location: ".$_SESSION['config']['businessappurl']."index.php?display=true&page=login"); exit(); } } diff --git a/core/trunk/index.php b/core/trunk/index.php index fc99ca6cc1eb872489831960f7b448749362b4c1..99fb92f1e1f861d74d31a547c4cbb3a03f7cfb72 100644 --- a/core/trunk/index.php +++ b/core/trunk/index.php @@ -44,9 +44,6 @@ if (isset($_GET['origin']) && $_GET['origin'] == 'scan') { header('location: apps/'.$_SESSION['businessapps'][0]['appid'].'/reopen.php'); } else { $_SESSION['config']['app_id'] = $_SESSION['businessapps'][0]['appid']; - /*header('location: apps/'.$_SESSION['config']['app_id'] - . '/index.php?display=true&page=login&coreurl=' - . $_SESSION['config']['coreurl']);*/ header('location: apps/'.$_SESSION['config']['app_id'] . '/index.php?display=true&page=login'); }