[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_plugins/forum/ -> forum_test.php (source)

   1  <?php
   2  require_once ('../../class2.php');
   3  require_once(e_PLUGIN.'forum/forum_class.php');
   4      
   5  $timestart = microtime();
   6  $forum = new e107forum;
   7      
   8  //for($i=1; $i<=7000; $i++) {
   9  // $x = $forum->update_lastpost('thread',$i);
  10  //}
  11      
  12  set_time_limit(240);
  13  $forum->update_lastpost('forum', 'all');
  14  //$x = $forum->update_lastpost('forum',16);
  15      
  16      
  17  $timeend = microtime();
  18  $diff = number_format(((substr($timeend, 0, 9)) + (substr($timeend, -10)) - (substr($timestart, 0, 9)) - (substr($timestart, -10))), 4);
  19  echo "<br />script generation took $diff s";
  20      
  21  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7