require_once "$cmsPath/core/includes/config.inc";
backdrop_bootstrap(BACKDROP_BOOTSTRAP_FULL);
- // Explicitly setting error reporting, since we cannot handle Backdrop
- // related notices.
- error_reporting(1);
if (!function_exists('module_exists') || !module_exists('civicrm')) {
if ($throwError) {
echo '<br />Sorry, could not load Backdrop bootstrap.';
// @ to suppress notices eg 'DRUPALFOO already defined'.
@drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
- // explicitly setting error reporting, since we cannot handle drupal related notices
- // @todo 1 = E_ERROR, but more to the point setting error reporting deep in code
- // causes grief with debugging scripts
- error_reporting(1);
if (!function_exists('module_exists')) {
if ($throwError) {
throw new Exception('Sorry, could not load drupal bootstrap.');