public static function createBaseConfig() {
$config = \CRM_Core_Config::singleton();
$tmpDir = empty($config->uploadDir) ? Civi::paths()->getVariable('civicrm.compile', 'path') : $config->uploadDir;
public static function createBaseConfig() {
$config = \CRM_Core_Config::singleton();
$tmpDir = empty($config->uploadDir) ? Civi::paths()->getVariable('civicrm.compile', 'path') : $config->uploadDir;