Index: trunk/admin/include/elements.php =================================================================== diff -u -r624 -r820 --- trunk/admin/include/elements.php (.../elements.php) (revision 624) +++ trunk/admin/include/elements.php (.../elements.php) (revision 820) @@ -452,13 +452,12 @@ //Page Footer function int_footer() { - global $objSession; - - if($objSession->HasSystemPermission("DEBUG.INFO")) - { - //phpinfo(); - } - print <<HasSystemPermission("DEBUG.INFO")) + { + //phpinfo(); + } + print << END;