cvs: pear /Forum/lib/plugins plugin.php
| From: | Thomas V.V.Cox | Date: | Fri, 12 Oct 2001 19:08:28 +0000 |
| Subject: | cvs: pear /Forum/lib/plugins plugin.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-994@lists.php.net to get a copy of this message | ||
cox Fri Oct 12 15:08:28 2001 EDT
Modified files:
/pear/Forum/lib/plugins plugin.php
Log:
don't show debug code in non debug mode
Index: pear/Forum/lib/plugins/plugin.php
diff -u pear/Forum/lib/plugins/plugin.php:1.3 pear/Forum/lib/plugins/plugin.php:1.4
--- pear/Forum/lib/plugins/plugin.php:1.3 Fri Oct 12 13:59:07 2001
+++ pear/Forum/lib/plugins/plugin.php Fri Oct 12 15:08:28 2001
@@ -33,7 +33,9 @@
$FORUM["PLUGINS"] = array();
$include_paths = explode(":",ini_get("include_path"));
- my_var_dump($include_paths);
+ if($FORUM["DEBUG"]) {
+ my_var_dump($include_paths);
+ }
foreach($include_paths as $include_path) {
if(@is_dir($plugindir = $include_path."/".$FORUM["LIB"])) {
break;