Crash workaround
This commit is contained in:
parent
2c2f776f3a
commit
b691fa9694
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