diff --git a/code/web/private_php/ams/autoload/helpers.php b/code/web/private_php/ams/autoload/helpers.php index 272d758e1..0f7f8f659 100644 --- a/code/web/private_php/ams/autoload/helpers.php +++ b/code/web/private_php/ams/autoload/helpers.php @@ -36,6 +36,11 @@ class Helpers { $smarty -> caching = false; $smarty -> cache_lifetime = 5; + if (function_exists('apc_cache_info')) { + // production + $smarty->compile_check = false; + } + // needed by smarty. helpers :: create_folders (); global $FORCE_INGAME;