ispCP - Board - Support
Maxi debug for testing and dev - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: Maxi debug for testing and dev (/thread-157.html)



Maxi debug for testing and dev - Nuxwin - 02-10-2007 09:15 AM

Hi ;

If you want maximum information in mod debug, you can edit the /gui/include/debug.php file and replace this -->

Code:
print '<font color="#0000FF"><u><b>$GLOBALS[]</b> Contents:</u><br></font>';

    foreach ($GLOBALS as $key => $value) {

        print "$key = $value <br>";

    }
by this :
Code:
print '<font color="#0000FF"><u><b>$GLOBALS[]</b> Contents:</u><br></font>';

    echo '<pre>';
    print_r ($GLOBALS);
    echo '</pre>';

Enjoys.