translation change for Polish
fixed webdirectory write permissions git-svn-id: svn://192.168.202.10@234 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -55,12 +55,11 @@
|
||||
# 60112-1622 - Several formatting changes
|
||||
# 60421-1357 - check GET/POST vars lines with isset to not trigger PHP NOTICES
|
||||
# 60619-1103 - Added variable filters to close security holes for login form
|
||||
# 60829-1528 - Made compatible with WeBRooTWritablE setting in dbconnect.php
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
|
||||
#require_once("htglobalize.php");
|
||||
|
||||
### If you have globals turned off uncomment these lines
|
||||
if (isset($_GET["user"])) {$user=$_GET["user"];}
|
||||
elseif (isset($_POST["user"])) {$user=$_POST["user"];}
|
||||
@@ -88,8 +87,8 @@ $user_abb = "$user$user$user$user";
|
||||
while ( (strlen($user_abb) > 4) and ($forever_stop < 200) )
|
||||
{$user_abb = eregi_replace("^.","",$user_abb); $forever_stop++;}
|
||||
|
||||
$version = '1.1.12';
|
||||
$build = '60619-1103';
|
||||
$version = '2.0.1';
|
||||
$build = '60829-1528';
|
||||
|
||||
### security strip all non-alphanumeric characters out of the variables ###
|
||||
$DB=ereg_replace("[^0-9a-z]","",$DB);
|
||||
@@ -124,7 +123,8 @@ $FILE_TIME = date("Ymd-His");
|
||||
|
||||
$US='_';
|
||||
$CL=':';
|
||||
$fp = fopen ("./astguiclient_auth_entries.txt", "a");
|
||||
if ($WeBRooTWritablE > 0)
|
||||
{$fp = fopen ("./astguiclient_auth_entries.txt", "a");}
|
||||
$date = date("r");
|
||||
$ip = getenv("REMOTE_ADDR");
|
||||
$browser = getenv("HTTP_USER_AGENT");
|
||||
@@ -183,13 +183,19 @@ $agcDIR = eregi_replace('astguiclient.php','',$agcDIR);
|
||||
$rslt=mysql_query($stmt, $link);
|
||||
$row=mysql_fetch_row($rslt);
|
||||
$LOGfullname=$row[0];
|
||||
fwrite ($fp, "VICIDIAL|GOOD|$date|$user|$pass|$ip|$browser|$LOGfullname|\n");
|
||||
fclose($fp);
|
||||
if ($WeBRooTWritablE > 0)
|
||||
{
|
||||
fwrite ($fp, "VICIDIAL|GOOD|$date|$user|$pass|$ip|$browser|$LOGfullname|\n");
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
fwrite ($fp, "VICIDIAL|FAIL|$date|$user|$pass|$ip|$browser|\n");
|
||||
fclose($fp);
|
||||
if ($WeBRooTWritablE > 0)
|
||||
{
|
||||
fwrite ($fp, "VICIDIAL|FAIL|$date|$user|$pass|$ip|$browser|$LOGfullname|\n");
|
||||
fclose($fp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
# 60821-1628 - Added ALLFORCE recording option
|
||||
# 60821-1643 - Added no_delete_sessions option to not delete sessions
|
||||
# 60822-0512 - Changed phone number fields to be maxlength of 12
|
||||
# 60829-1531 - Made compatible with WeBRooTWritablE setting in dbconnect.php
|
||||
#
|
||||
|
||||
require("dbconnect.php");
|
||||
@@ -416,7 +417,8 @@ exit;
|
||||
}
|
||||
else
|
||||
{
|
||||
$fp = fopen ("./vicidial_auth_entries.txt", "a");
|
||||
if ($WeBRooTWritablE > 0)
|
||||
{$fp = fopen ("./vicidial_auth_entries.txt", "a");}
|
||||
$VDloginDISPLAY=0;
|
||||
|
||||
if ( (strlen($VD_login)<2) or (strlen($VD_pass)<2) or (strlen($VD_campaign)<2) )
|
||||
@@ -449,9 +451,11 @@ $VDloginDISPLAY=0;
|
||||
$VU_vicidial_recording=$row[7];
|
||||
$VU_vicidial_transfers=$row[8];
|
||||
$VU_closer_default_blended=$row[9];
|
||||
fwrite ($fp, "vdweb|GOOD|$date|$VD_login|$VD_pass|$ip|$browser|$LOGfullname|\n");
|
||||
fclose($fp);
|
||||
|
||||
if ($WeBRooTWritablE > 0)
|
||||
{
|
||||
fwrite ($fp, "vdweb|GOOD|$date|$VD_login|$VD_pass|$ip|$browser|$LOGfullname|\n");
|
||||
fclose($fp);
|
||||
}
|
||||
$user_abb = "$VD_login$VD_login$VD_login$VD_login";
|
||||
while ( (strlen($user_abb) > 4) and ($forever_stop < 200) )
|
||||
{$user_abb = eregi_replace("^.","",$user_abb); $forever_stop++;}
|
||||
@@ -621,8 +625,11 @@ $VDloginDISPLAY=0;
|
||||
}
|
||||
else
|
||||
{
|
||||
fwrite ($fp, "vdweb|FAIL|$date|$VD_login|$VD_pass|$ip|$browser|\n");
|
||||
fclose($fp);
|
||||
if ($WeBRooTWritablE > 0)
|
||||
{
|
||||
fwrite ($fp, "vdweb|FAIL|$date|$VD_login|$VD_pass|$ip|$browser|\n");
|
||||
fclose($fp);
|
||||
}
|
||||
$VDloginDISPLAY=1;
|
||||
$VDdisplayMESSAGE = "Login incorrect, please try again<BR>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user