domain_settings_setup_ok()Small helper function to determine whether this file was included correctly in the user's settings.php
If it was included at the right time then cache.inc shouldn't be included yet and the function 'cache_get' not be defined.
When the function is called first (from within this file) the state is saved in a static variable, every later call will return that boolean value.
TRUE if settings.inc was included correctly in settings.php, else FALSE
./settings.inc, line 37
<?php
function domain_settings_setup_ok() {
static $state = NULL;
if ($state === NULL) {
$state = !function_exists('cache_get');
}
return $state;
}
?>