config.inc.php bug ?

A place to discuss development of the Xataface core.

config.inc.php bug ?

Postby xyloweb » Wed Feb 29, 2012 1:34 am

Hi,

I think there's a bug into "config.inc.php" file : the first parameter of ini_set function seems to be magic_quotes_runtim***G*** and not magic_quotes_runtime

xataface version : 1.3rc6 2510

Code: Select all
//Prevent Magic Quotes from affecting scripts, regardless of server settings

//Make sure when reading file data,
//PHP doesn't "magically" mangle backslashes!
//set_magic_quotes_runtime(FALSE);
ini_set('magic_quotes_runtimg', false);
if ( !function_exists('microtime_float') ){
   function microtime_float()
   {
      list($usec, $sec) = explode(" ", microtime());
      return ((float)$usec + (float)$sec);
   }
}
xyloweb
 
Posts: 11
Joined: Tue Oct 11, 2011 5:27 am

Re: config.inc.php bug ?

Postby ADobkin » Wed Feb 29, 2012 4:55 am

FYI, this appears to be correct in the trunk, but the typo is present in both 1.3.x and 1.5.x.
ADobkin
 
Posts: 195
Joined: Mon Oct 22, 2007 7:31 pm
Location: Atlanta, GA, USA

Re: config.inc.php bug ?

Postby shannah » Wed Feb 29, 2012 10:55 am

Thanks. It's now fixed in 1.3.x and 1.5.x.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Developers

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved