diff options
author | Friendika <info@friendika.com> | 2011-09-01 21:54:04 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-01 21:54:04 -0700 |
commit | 71f71ecf46c9dfc522685d171fbaf9bc7d73b708 (patch) | |
tree | d7eb2bf6454bf89b6373cad7cdca377aaa033cbb | |
parent | a33edb00424882258a90b138c634a466c92faf61 (diff) | |
download | volse-hubzilla-71f71ecf46c9dfc522685d171fbaf9bc7d73b708.tar.gz volse-hubzilla-71f71ecf46c9dfc522685d171fbaf9bc7d73b708.tar.bz2 volse-hubzilla-71f71ecf46c9dfc522685d171fbaf9bc7d73b708.zip |
error viewing logfiles over 2Gb
-rw-r--r-- | mod/admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/admin.php b/mod/admin.php index 72544ee70..e42fe93f6 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -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 = ''; |