Crash workaround

This commit is contained in:
kaetemi 2014-09-03 08:18:21 +02:00
parent 2c2f776f3a
commit b691fa9694

View file

@ -36,6 +36,11 @@ class Helpers {
$smarty -> caching = false; $smarty -> caching = false;
$smarty -> cache_lifetime = 5; $smarty -> cache_lifetime = 5;
if (function_exists('apc_cache_info')) {
// production
$smarty->compile_check = false;
}
// needed by smarty. // needed by smarty.
helpers :: create_folders (); helpers :: create_folders ();
global $FORCE_INGAME; global $FORCE_INGAME;