1
0
Fork 0

error viewing logfiles over 2Gb

This commit is contained in:
Friendika 2011-09-01 21:54:04 -07:00
parent a33edb0042
commit 71f71ecf46

View file

@ -632,7 +632,7 @@ function admin_page_logs(&$a){
$f = get_config('system','logfile');
$size = filesize($f);
if($size > 5000000)
if($size > 5000000 || $size < 0)
$size = 5000000;
$data = '';