From: <var...@us...> - 2021-07-29 10:29:55
|
Revision: 10390 http://sourceforge.net/p/phpwiki/code/10390 Author: vargenau Date: 2021-07-29 10:29:52 +0000 (Thu, 29 Jul 2021) Log Message: ----------- configurator.php: remove DEBUG Modified Paths: -------------- trunk/configurator.php Modified: trunk/configurator.php =================================================================== --- trunk/configurator.php 2021-07-29 10:26:22 UTC (rev 10389) +++ trunk/configurator.php 2021-07-29 10:29:52 UTC (rev 10390) @@ -324,8 +324,6 @@ </div> <?php -define('DEBUG', 0); -//define('DEBUG', 1); /** * The Configurator is a php script to aid in the configuration of PhpWiki. * Parts of this file were based on PHPWeather's configurator.php file. @@ -2541,8 +2539,6 @@ "; $posted = $GLOBALS['HTTP_POST_VARS']; - /*if (defined('DEBUG')) - printArray($GLOBALS['HTTP_POST_VARS']);*/ foreach ($properties as $option_name => $a) { $posted_value = stripslashes($posted[$a->config_item_name]); @@ -2605,7 +2601,6 @@ while (list($property, $obj) = each($properties)) { echo $obj->get_instructions($property); if ($h = $obj->get_html()) { - if (defined('DEBUG') and DEBUG) $h = get_class($obj) . "<br />\n" . $h; echo "<td>" . $h . "</td>\n"; } echo '</tr>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |