projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #7764 from pradpnayak/CRM-16617-master
[civicrm-core.git]
/
xml
/
GenCode.php
diff --git
a/xml/GenCode.php
b/xml/GenCode.php
index 0f994a9b25b8721d321d1b41280e5cd8b457bcec..76e6fa6c9d15730a8257b8d90534823c36cb6575 100644
(file)
--- a/
xml/GenCode.php
+++ b/
xml/GenCode.php
@@
-14,11
+14,13
@@
switch ($memLimitUnit) {
}
if ($memLimit >= 0 and $memLimit < 536870912) {
}
if ($memLimit >= 0 and $memLimit < 536870912) {
- ini_set('memory_limit', '512M');
+ // Note: When processing all locales, CRM_Core_I18n::singleton() eats a lot of RAM.
+ ini_set('memory_limit', -1);
}
date_default_timezone_set('UTC'); // avoid php warnings if timezone is not set - CRM-10844
define('CIVICRM_UF', 'Drupal');
}
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();
require_once 'CRM/Core/ClassLoader.php';
CRM_Core_ClassLoader::singleton()->register();