Skip to content
Snippets Groups Projects
Commit 896050a0 authored by totten's avatar totten
Browse files

(cloud-native#3) Runtime.php - Remove redundant check

1. Previous commits generally removed any responsibility for
`CIVICRM_TEMPLATE_COMPILEDIR` from `Runtime.php`, so the validation
is longer local/relevant.

2. The `CIVICRM_TEMPLATE_COMPILEDIR` is still used in
`CRM_Utils_File::baseFilePath()` which has a similar validation step.
parent 0bd3f65c
Branches 4.7.9-rc
Tags 4.7.9
No related merge requests found
......@@ -88,10 +88,6 @@ class CRM_Core_Config_Runtime extends CRM_Core_Config_MagicMerge {
}
$this->dsn = defined('CIVICRM_DSN') ? CIVICRM_DSN : NULL;
if (!defined('CIVICRM_TEMPLATE_COMPILEDIR') && $loadFromDB) {
$this->fatal('You need to define CIVICRM_TEMPLATE_COMPILEDIR in civicrm.settings.php');
}
if (!defined('CIVICRM_UF')) {
$this->fatal('You need to define CIVICRM_UF in civicrm.settings.php');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment