Commit 4eebe2a3863ca6b50e107ad84080629da6d81707
Compute the md5 key only when needed
Author: Catalin(ux) M. BOIE
Author date (UTC): 2016-10-02 07:56
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2016-10-02 07:56
Parent(s): 4da8c1c26b9bd192fa4525f3168cce2fa421702c
Signing key:
Tree: 3bf35ef63129a8f0d7f44520689e5bf1e74e320c
File inc/util.inc.php changed (mode: 100644) (index dc9b8cf..c40422b) |
... |
... |
function rg_error_handler($no, $str, $file, $line) |
1369 |
1369 |
return; |
return; |
1370 |
1370 |
|
|
1371 |
1371 |
$msg = "PHP ERROR: $file:$line: $str (errno=$no)"; |
$msg = "PHP ERROR: $file:$line: $str (errno=$no)"; |
1372 |
|
$key = md5($msg); |
|
1373 |
1372 |
rg_error_core($msg); |
rg_error_core($msg); |
1374 |
1373 |
|
|
1375 |
1374 |
if ($no == E_ERROR) |
if ($no == E_ERROR) |
1376 |
1375 |
die(); |
die(); |
1377 |
1376 |
|
|
|
1377 |
|
$key = md5($msg); |
1378 |
1378 |
$rg_error_seen[$key] = 1; |
$rg_error_seen[$key] = 1; |
1379 |
1379 |
|
|
1380 |
1380 |
return FALSE; |
return FALSE; |