aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-01 21:54:04 -0700
committerFriendika <info@friendika.com>2011-09-01 21:54:04 -0700
commit71f71ecf46c9dfc522685d171fbaf9bc7d73b708 (patch)
treed7eb2bf6454bf89b6373cad7cdca377aaa033cbb /mod
parenta33edb00424882258a90b138c634a466c92faf61 (diff)
downloadvolse-hubzilla-71f71ecf46c9dfc522685d171fbaf9bc7d73b708.tar.gz
volse-hubzilla-71f71ecf46c9dfc522685d171fbaf9bc7d73b708.tar.bz2
volse-hubzilla-71f71ecf46c9dfc522685d171fbaf9bc7d73b708.zip
error viewing logfiles over 2Gb
Diffstat (limited to 'mod')
-rw-r--r--mod/admin.php2
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 = '';