Rozdiely pre Metafox/admin/inc/functions.inc.php medzi verziami 1.11 a 1.12
| verzia 1.11, 2012/09/28 18:49:48 |
verzia 1.12, 2017/06/09 15:12:58 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/admin/inc/functions.inc.php,v 1.10 2012-05-14 17:56:52 igor Exp $ */ |
/* $Platon: Metafox/admin/inc/functions.inc.php,v 1.11 2012-09-28 18:49:48 nepto Exp $ */ |
| |
|
| /* MAINTAINANCE: This file is maintained in Metafox project and distributed |
/* MAINTAINANCE: This file is maintained in Metafox project and distributed |
| across the particular projects accordingly. */ |
across the particular projects accordingly. */ |
| Riadok 136 function ezin_reset_session_records() { |
|
| Riadok 136 function ezin_reset_session_records() { |
|
| .' WHERE password IS NOT NULL AND LENGTH(password) > 0' |
.' WHERE password IS NOT NULL AND LENGTH(password) > 0' |
| .' AND login < SUBDATE(NOW(), INTERVAL 7 DAY)', |
.' AND login < SUBDATE(NOW(), INTERVAL 7 DAY)', |
| $ezin_sys['db']['tables']['sessions']); |
$ezin_sys['db']['tables']['sessions']); |
| $result = @mysql_query($query, $ezin_db_handle) |
$result = mysqli_query($ezin_db_handle, $query) |
| or ezin_db_error('ezin_reset_session_records()'); |
or ezin_db_error('ezin_reset_session_records()'); |
| @mysql_free_result($result); |
mysqli_free_result($result); |
| } |
} |
| |
|
| |
|
Platon Group <platon@platon.sk> http://platon.sk/
|
|