Changeset 702 for trunk/forum/common.php


Ignore:
Timestamp:
Mar 31, 2010, 6:32:40 PM (15 years ago)
Author:
george
Message:
  • Upraveno: Aktualizace fóra.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/common.php

    r400 r702  
    33*
    44* @package phpBB3
    5 * @version $Id: common.php 8760 2008-08-15 19:46:51Z aptx $
     5* @version $Id$
    66* @copyright (c) 2005 phpBB Group
    77* @license http://opensource.org/licenses/gpl-license.php GNU Public License
     
    2020$starttime = $starttime[1] + $starttime[0];
    2121
    22 // Report all errors, except notices
    23 error_reporting(E_ALL ^ E_NOTICE);
     22// Report all errors, except notices and deprecation messages
     23if (!defined('E_DEPRECATED'))
     24{
     25        define('E_DEPRECATED', 8192);
     26}
     27error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
    2428
    2529/*
     
    173177
    174178// Load Extensions
    175 if (!empty($load_extensions))
     179// dl() is deprecated and disabled by default as of PHP 5.3.
     180if (!empty($load_extensions) && function_exists('dl'))
    176181{
    177182        $load_extensions = explode(',', $load_extensions);
Note: See TracChangeset for help on using the changeset viewer.