From: Tim Otten Date: Sat, 12 Sep 2015 01:15:26 +0000 (-0700) Subject: GenCode - More complete env X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2a8330d8218ea46fc55a682227ad27b8f2945365;p=civicrm-core.git GenCode - More complete env --- diff --git a/xml/GenCode.php b/xml/GenCode.php index 0f994a9b25..fe8fa06576 100644 --- a/xml/GenCode.php +++ b/xml/GenCode.php @@ -19,6 +19,7 @@ if ($memLimit >= 0 and $memLimit < 536870912) { date_default_timezone_set('UTC'); // avoid php warnings if timezone is not set - CRM-10844 define('CIVICRM_UF', 'Drupal'); +define('CIVICRM_UF_BASEURL', '/'); require_once 'CRM/Core/ClassLoader.php'; CRM_Core_ClassLoader::singleton()->register();