Crash workaround
This commit is contained in:
parent
7edf900a2e
commit
54435b9258
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue