tbrehm
2011-12-15 c53695f5ac6ec973a8e8b4af914f629b2c40f465
- Fixed some php notices.
- Added error_reporting level in app.inc.php to E_ALL & ~E_NOTICE
3 files modified
14 ■■■■ changed files
interface/lib/app.inc.php 11 ●●●● patch | view | raw | blame | history
interface/lib/config.inc.php 1 ●●●● patch | view | raw | blame | history
interface/web/dashboard/lib/custom_menu.inc.php 2 ●●●●● patch | view | raw | blame | history
interface/lib/app.inc.php
@@ -28,12 +28,17 @@
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
//* Enable gzip compression for the interface
ob_start('ob_gzhandler');
//* Set error reporting level when we are not on a developer system
if(DEVSYSTEM == 0) {
    @ini_set('error_reporting', E_ALL & ~E_NOTICE);
}
/*
    Application Class
*/
ob_start('ob_gzhandler');
class app {
    private $_language_inc = 0;
interface/lib/config.inc.php
@@ -45,6 +45,7 @@
//** Application
define('ISPC_APP_TITLE', 'ISPConfig');
define('ISPC_APP_VERSION', '3.0.2');
define('DEVSYSTEM', 0);
//** Database
interface/web/dashboard/lib/custom_menu.inc.php
@@ -51,6 +51,8 @@
        $atom_url = "";
}
$rows = array();
if( $atom_url != '' ) {
    if(!isset($_SESSION['s']['rss_news'])) {