1 drupal.inc drupal_detect_baseurl($file = 'core/install.php')

Loads the installation profile, extracting its defined distribution name.

Deprecated

since 1.0.0

See also

backdrop_detect_baseurl()

Related topics

File

core/includes/drupal.inc, line 1911
Contains constants and function wrappers for Drupal 7.x compatibility.

Code

function drupal_detect_baseurl($file = 'core/install.php') {
  watchdog_deprecated_function('drupal', __FUNCTION__);
  return backdrop_detect_baseurl($file);
}