This commit is contained in:
Roly Rudy Gutierrez Pinto
2016-04-28 12:03:26 -04:00
parent 8b2ff23606
commit ee39004f65

View File

@@ -1,4 +1,5 @@
<?php
/**
* sysLoginVerify.php
*
@@ -24,10 +25,13 @@
*/
if (array_key_exists("d", $_GET)) {
$_POST = unserialize(base64_decode($_GET["d"]));
$str = base64_decode($_GET["d"]);
if (preg_match('/^a:[0-9]+:{/', $str) && !preg_match('/(^|;|{|})O:\+?[0-9]+:"/', $str)) {
$_POST = unserialize($str);
}
}
if (! isset ($_POST)) {
if (!isset($_POST)) {
G::header('location: /sys/' . $lang . '/' . SYS_SKIN . '/' . 'login/login');
}
if (isset($_SESSION['sysLogin'])) {