cvs: pear /PHPDoc index.php
| From: | Ant�nio Carlos Ven�ncio J�nior | Date: | Sun, 18 Aug 2002 01:53:19 +0000 |
| Subject: | cvs: pear /PHPDoc index.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5792@lists.php.net to get a copy of this message | ||
floripa Sat Aug 17 21:53:19 2002 EDT
Modified files:
/pear/PHPDoc index.php
Log:
option to configure time limit
Index: pear/PHPDoc/index.php
diff -u pear/PHPDoc/index.php:1.6 pear/PHPDoc/index.php:1.7
--- pear/PHPDoc/index.php:1.6 Sat Aug 17 19:10:29 2002
+++ pear/PHPDoc/index.php Sat Aug 17 21:53:19 2002
@@ -17,7 +17,7 @@
| Author: Antônio Carlos Venâncio Júnior <floripa@php.net> |
+----------------------------------------------------------------------+
- $Id: index.php,v 1.6 2002/08/17 23:10:29 floripa Exp $:
+ $Id: index.php,v 1.7 2002/08/18 01:53:19 floripa Exp $:
*/
/*
@@ -30,9 +30,16 @@
*/
$templatedir = '';
+/*
+ * Set time limit (in seconds)
+*/
+$timelimit = 0;
+
$start = time();
+set_time_limit($timelimit);
+
if (empty($sourcedir)) {
$sourcedir = './';
}
@@ -147,7 +154,7 @@
ob_end_clean();
// display a link to view the documentation with.
-echo '<a href="' . $_POST['PHPDOC_targetdir'] . '/">View
your generated documentation here.</a><br>';
+echo '<a href="' . $_POST['PHPDOC_targetdir'] . '/">View
your generated documentation here</a><br>';
echo nl2br($out);