cvs: docweb /scripts notes_stats_output.php

[email protected] ("Nuno Lopes")
Newsgroups php.doc.web
Message-ID <cvsnlopess1111770686@cvsserver>
nlopess		Fri Mar 25 12:11:26 2005 EDT

  Modified files:              
    /docweb/scripts	notes_stats_output.php 
  Log:
  require 3 MBs of DB
  
http://cvs.php.net/diff.php/docweb/scripts/notes_stats_output.php?r1=1.3&r2=1.4&ty=u
Index: docweb/scripts/notes_stats_output.php
diff -u docweb/scripts/notes_stats_output.php:1.3 docweb/scripts/notes_stats_output.php:1.4
--- docweb/scripts/notes_stats_output.php:1.3	Fri Feb  4 17:10:33 2005
+++ docweb/scripts/notes_stats_output.php	Fri Mar 25 12:11:25 2005
@@ -15,14 +15,14 @@
 +----------------------------------------------------------------------+
 | Authors: Vincent Gevers <[email protected]>                            |
 +----------------------------------------------------------------------+
-$Id: notes_stats_output.php,v 1.3 2005/02/04 22:10:33 vincent Exp $
+$Id: notes_stats_output.php,v 1.4 2005/03/25 17:11:25 nlopess Exp $
 */
 
 echo "<?php require_once '../include/init.inc.php';\n";
 
 // Settings for this script can be found in ./notes_stats.php
 
-if (@filesize($DBFile) < 10) {
+if (@filesize($DBFile) < 3000000) { // require at least 3 MBs
     echo "echo site_header('Statistics not available');\n";
     echo "echo '<h2>Statistics not available</h2>';\n";
     echo "echo site_footer();";
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.