1.12.x drupal.inc drupal_detect_baseurl($file = 'core/install.php')
1.10.x drupal.inc drupal_detect_baseurl($file = 'core/install.php')
1.11.x drupal.inc drupal_detect_baseurl($file = 'core/install.php')
1.7.x 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

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);
}