mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-23 05:40:30 +03:00
[1983764] get rid of potentially bad constructions
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@99 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
d7e81cd032
commit
b15d39fd97
@ -91,6 +91,6 @@ if($act == "createdb") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mysql_close($link);
|
mysql_close($link);
|
||||||
header("Location: ".dirname($_SERVER['PHP_SELF'])."/index.php");
|
header("Location: $webimroot/install/index.php");
|
||||||
exit;
|
exit;
|
||||||
?>
|
?>
|
@ -4,11 +4,14 @@
|
|||||||
|
|
||||||
[+] Number of messages from visitor in history
|
[+] Number of messages from visitor in history
|
||||||
[+] State "loading" (means user is still loading his window)
|
[+] State "loading" (means user is still loading his window)
|
||||||
|
[+] Timers on peding users page are ticking now
|
||||||
[!] Company logo link target is now an option in config
|
[!] Company logo link target is now an option in config
|
||||||
[!] Mail encoding fixed (separate option)
|
[!] Mail encoding fixed (separate option)
|
||||||
[!] Operator/user locale is stored in cookie
|
[!] Operator/user locale is stored in cookie
|
||||||
[!] localized dates
|
[!] localized dates
|
||||||
[!] fixed installing on DB with numeric name
|
[!] fixed installing on DB with numeric name
|
||||||
|
[!] empty and double messages
|
||||||
|
[!] #1983764
|
||||||
|
|
||||||
1.0.9
|
1.0.9
|
||||||
-----
|
-----
|
||||||
|
@ -17,7 +17,7 @@ session_start();
|
|||||||
require_once(dirname(__FILE__).'/converter.php');
|
require_once(dirname(__FILE__).'/converter.php');
|
||||||
require_once(dirname(__FILE__).'/config.php');
|
require_once(dirname(__FILE__).'/config.php');
|
||||||
|
|
||||||
$version = 'v1.0.10/pre1';
|
$version = 'v1.0.10';
|
||||||
|
|
||||||
function myiconv($in_enc, $out_enc, $string) {
|
function myiconv($in_enc, $out_enc, $string) {
|
||||||
global $_utf8win1251, $_win1251utf8;
|
global $_utf8win1251, $_win1251utf8;
|
||||||
|
@ -34,7 +34,7 @@ if( !isset($_GET['token']) ) {
|
|||||||
take_thread($thread,$operator);
|
take_thread($thread,$operator);
|
||||||
|
|
||||||
$token = $thread['ltoken'];
|
$token = $thread['ltoken'];
|
||||||
header("Location: ".$_SERVER['PHP_SELF']."?thread=$threadid&token=$token");
|
header("Location: $webimroot/operator/agent.php?thread=$threadid&token=$token");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ if( isset($_POST['login']) && isset($_POST['password']) ) {
|
|||||||
|
|
||||||
$target = isset($_SESSION['backpath'])
|
$target = isset($_SESSION['backpath'])
|
||||||
? $_SESSION['backpath']
|
? $_SESSION['backpath']
|
||||||
: dirname($_SERVER['PHP_SELF'])."/index.php";
|
: "$webimroot/operator/index.php";
|
||||||
|
|
||||||
login_operator($operator,$remember);
|
login_operator($operator,$remember);
|
||||||
header("Location: $target");
|
header("Location: $target");
|
||||||
|
@ -17,8 +17,6 @@ require_once('../libs/operator.php');
|
|||||||
|
|
||||||
logout_operator();
|
logout_operator();
|
||||||
|
|
||||||
$target = dirname($_SERVER['PHP_SELF'])."/login.php";
|
header("Location: $webimroot/operator/login.php");
|
||||||
header("Location: $target");
|
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
?>
|
?>
|
@ -59,7 +59,7 @@ if( isset($_POST['login']) && isset($_POST['password']) ) {
|
|||||||
} else {
|
} else {
|
||||||
update_operator($agentId,$login,$password,$localname,$commonname);
|
update_operator($agentId,$login,$password,$localname,$commonname);
|
||||||
}
|
}
|
||||||
header("Location: ".dirname($_SERVER['PHP_SELF'])."/operators.php");
|
header("Location: $webimroot/operator/operators.php");
|
||||||
exit;
|
exit;
|
||||||
} else {
|
} else {
|
||||||
$page['formlogin'] = topage($login);
|
$page['formlogin'] = topage($login);
|
||||||
|
Loading…
Reference in New Issue
Block a user