Skip to content

Commit

Permalink
$cache_enable should be defined as a global var in SSI
Browse files Browse the repository at this point in the history
Fixes SimpleMachines#5061

Signed-off-by: John Rayes <live627@gmail.com>
  • Loading branch information
live627 committed Oct 16, 2018
1 parent 40be7d0 commit 64f957e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SSI.php
Expand Up @@ -22,7 +22,7 @@
global $boardurl, $boarddir, $sourcedir, $webmaster_email, $cookiename;
global $db_type, $db_server, $db_name, $db_user, $db_prefix, $db_persist, $db_error_send, $db_last_error;
global $db_connection, $db_port, $modSettings, $context, $sc, $user_info, $topic, $board, $txt;
global $smcFunc, $ssi_db_user, $scripturl, $ssi_db_passwd, $db_passwd, $cachedir;
global $smcFunc, $ssi_db_user, $scripturl, $ssi_db_passwd, $db_passwd, $cache_enable, $cachedir;

// Remember the current configuration so it can be set back.
$time_start = microtime(true);
Expand Down

0 comments on commit 64f957e

Please sign in to comment.