Skip to content

Commit

Permalink
* Saving milli-microseconds for SSI, just like in index.php... (SSI.php)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nao committed Mar 20, 2014
1 parent 40bd3a9 commit f14bb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SSI.php
Expand Up @@ -21,7 +21,7 @@
global $db_server, $db_connection, $db_name, $db_user, $db_prefix, $db_persist;
global $db_error_send, $db_last_error, $ssi_db_user, $ssi_db_passwd, $db_passwd;

if (function_exists('set_magic_quotes_runtime') && version_compare(PHP_VERSION, '5.4') < 0)
if (version_compare(PHP_VERSION, '5.4') < 0 && function_exists('set_magic_quotes_runtime'))
{
// Remember the current configuration so it can be set back.
$ssi_magic_quotes_runtime = function_exists('get_magic_quotes_runtime') && @get_magic_quotes_runtime();
Expand Down

0 comments on commit f14bb09

Please sign in to comment.