add optimisation

This commit is contained in:
Philipp Rothmann 2023-03-30 13:54:48 +02:00
parent ea2ca5228c
commit e3401ddfd4

View File

@ -77,5 +77,8 @@ if ($memLimit >= 0 and $memLimit < 134217728) {
ini_set('memory_limit', '128M');
}
// Optimizations from https://docs.civicrm.org/sysadmin/en/latest/setup/optimizations/
define('CIVICRM_TEMPLATE_COMPILE_CHECK', FALSE);
require_once 'CRM/Core/ClassLoader.php';
CRM_Core_ClassLoader::singleton()->register();