mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-14 03:09:04 +00:00
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