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