X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=xml%2FGenCode.php;h=dc071c795aeb64cb2c9bf79c18cbbaafe5bd05f5;hb=2db35bf6ee39bf6d611681a9163515fa89115765;hp=bd1bfde915546942184eb3e3803c6e9da4655131;hpb=56c5b99f3ed9ef02a8f892fe5ee3008aa9b72cf2;p=civicrm-core.git diff --git a/xml/GenCode.php b/xml/GenCode.php index bd1bfde915..dc071c795a 100644 --- a/xml/GenCode.php +++ b/xml/GenCode.php @@ -20,6 +20,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(); @@ -30,7 +31,7 @@ $genCode = new CRM_Core_CodeGen_Main( '../sql/', // $sqlCodePath '../', // $phpCodePath '../templates/', // $tplCodePath - array('../packages/Smarty/plugins', '../CRM/Core/Smarty/plugins'), // smarty plugin dirs + NULL, // IGNORE @$argv[3], // cms empty($argv[2]) ? NULL : $argv[2], // db version empty($argv[1]) ? 'schema/Schema.xml' : $argv[1], // schema file