I think that is necessary change the function dump_gui_debug() in /var/www/ispcp/gui/include/debug.php in order that only the admin can use the debug mode into the panel.
Remember that...
Code:
$cfg['DUMP_GUI_DEBUG']==true;
... in /var/www/ispcp/gui/include/ispcp-lib.php to use this function
Code:
function dump_gui_debug()
{
if (isset($_SESSION['user_logged']) && $_SESSION['user_logged']=='admin' || isset($_SESSION['logged_from']) && $_SESSION['logged_from'] == 'admin'){
echo '<font color="#0000FF"><u>Content of <b>$_SESSION</b>:</u><br /></font>';
echo '<pre>';
echo htmlentities(print_r($_SESSION, true));
echo '</pre>';
echo '<font color="#0000FF"><u>Content of <b>$_POST</b>:</u><br /></font>';
echo '<pre>';
echo htmlentities(print_r($_POST, true));
echo '</pre>';
echo '<font color="#0000FF"><u>Content of <b>$_GET</b>:</u><br /></font>';
echo '<pre>';
echo htmlentities(print_r($_GET, true));
echo '</pre>';
echo '<font color="#0000FF"><u>Content of <b>$_COOKIE</b>:</u><br /></font>';
echo '<pre>';
echo htmlentities(print_r($_COOKIE, true));
echo '</pre>';
echo '<font color="#0000FF"><u>Content of <b>$_FILES</b>:</u><br /></font>';
echo '<pre>';
echo htmlentities(print_r($_FILES, true));
echo '</pre>';
echo '<font color="#0000FF"><u>Content of <b>$GLOBALS</b>:</u><br /></font>';
echo '<pre>';
echo htmlentities(print_r($GLOBALS, true));
echo '</pre>';
echo '<font color="#0000FF"><u>Content of <b>$_SERVER</b>:</u><br /></font>';
echo '<pre>';
echo htmlentities(print_r($_SERVER, true));
echo '</pre>';
}else{
exit;
}
}