FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » core.inc and PHP > 5.3.0
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
core.inc and PHP > 5.3.0 [message #166595] Fri, 27 January 2012 08:39 Go to previous message
NeXuS is currently offline  NeXuS   Korea, Republic of
Messages: 121
Registered: July 2010
Location: South Korea
Karma:
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);
}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Drupal CMS integration
Next Topic: Dynamic check of login/alias/email availability
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 05:30:54 GMT 2024

Total time taken to generate the page: 0.04249 seconds