core.inc and PHP > 5.3.0 [message #166595] |
Fri, 27 January 2012 08:39 |
NeXuS
Messages: 121 Registered: July 2010 Location: South Korea
Karma: 5
|
Senior Member Contributing Core Developer |
|
|
I suggest that the first few lines of core.inc are changed to the following (with the obvious change to $FORUM_VERSION, if needed)
$FORUM_VERSION = '3.0.3';
ignore_user_abort('1');
if (!defined('PHP_VERSION_ID')) {
$version = explode('.', PHP_VERSION);
define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2]));
}
if( PHP_VERSION_ID < 50300 )
{
@set_magic_quotes_runtime(0);
}
|
|
|
|
|
|
|