remove backpath from page as it is stored in session

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@445 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2009-04-04 21:08:09 +00:00
parent 76129088c4
commit ce5fe55af3
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,7 @@ require_once('../libs/common.php');
require_once('../libs/operator.php'); require_once('../libs/operator.php');
$errors = array(); $errors = array();
$page = array( 'backPath' => '', 'formisRemember' => true, 'version' => $version); $page = array( 'formisRemember' => true, 'version' => $version);
if( isset($_POST['login']) && isset($_POST['password']) ) { if( isset($_POST['login']) && isset($_POST['password']) ) {
$login = getparam('login'); $login = getparam('login');

View File

@ -28,7 +28,6 @@ function tpl_content() { global $page, $webimroot, $errors;
</div> </div>
<form name="loginForm" method="post" action="<?php echo $webimroot ?>/operator/login.php"> <form name="loginForm" method="post" action="<?php echo $webimroot ?>/operator/login.php">
<input type="hidden" name="backPath" value="<?php echo $page['backPath'] ?>"/>
<div id="loginpane"> <div id="loginpane">
<div class="header"> <div class="header">