You are here

function sms_bootstrap_check_vars in SMS Framework 7

If either of the required variables are not set load variables.

Avoid this by setting both 'sms_bootstrap_routes' and 'sms_bootstrap_enabled' in your settings.php file.

1 call to sms_bootstrap_check_vars()
sms_incoming.inc in bootstrap/sms_incoming.inc
Include file to (ab)use the cache router to accept and queue SMS.

File

bootstrap/sms_incoming.inc, line 104
Include file to (ab)use the cache router to accept and queue SMS.

Code

function sms_bootstrap_check_vars() {
  if (variable_get('sms_bootstrap_routes', '') === '' || variable_get('sms_bootstrap_enabled', '') === '') {
    drupal_bootstrap(DRUPAL_BOOTSTRAP_VARIABLES, FALSE);
  }
}