diff --git a/CRM/Core/BAO/Setting.php b/CRM/Core/BAO/Setting.php index 292f63a..3d5f6b6 100644 --- a/CRM/Core/BAO/Setting.php +++ b/CRM/Core/BAO/Setting.php @@ -205,6 +205,10 @@ class CRM_Core_BAO_Setting return; } + if ( basename($_SERVER["SCRIPT_NAME"]) == "rest.php" ) { + return; + } + // check if there are any locale strings if ( $domain->locale_custom_strings ) {