base_path

  1. drupal
    1. drupal6
    2. drupal7
Versionen
drupal6 – drupal7 base_path()

Returns the base URL path of the Drupal installation. At the very least, this will always default to /.

▾ 20 functions call base_path()

color_scheme_form_submit in modules/color/color.module
Submit handler for color change form.
drupal_add_js in includes/common.inc
Add a JavaScript file, setting or inline code to the page.
drupal_build_css_cache in includes/common.inc
Aggregate and optimize CSS files, putting them in the files directory.
drupal_get_css in includes/common.inc
Returns a themed representation of all stylesheets that should be attached to the page.
drupal_get_js in includes/common.inc
Returns a themed presentation of all JavaScript code for the current page.
phptemplate_get_ie_styles in themes/garland/template.php
Generates IE CSS links for LTR and RTL languages.
search_index in modules/search/search.module
Update the full-text search index for a particular item.
system_clean_url_settings in modules/system/system.admin.inc
Form builder; Configure Clean URL settings.
system_requirements in modules/system/system.install
Test and report Drupal installation requirements.
template_preprocess_maintenance_page in includes/theme.maintenance.inc
The variables generated here is a mirror of template_preprocess_page(). This preprocessor will run it's course when theme_maintenance_page() is invoked. It is also used in theme_install_page() and theme_update_page() to keep all the variables…
template_preprocess_page in includes/theme.inc
Process variables for page.tpl.php
theme_color_scheme_form in modules/color/color.module
Theme color form.
theme_get_setting in includes/theme.inc
Retrieve a setting for the current theme. This function is designed for use from within themes & engines to determine theme settings made in the admin interface.
theme_image in includes/theme.inc
Return a themed image.
theme_image_button in includes/form.inc
Theme a form image button.
update_info_page in ./update.php
update_results_page in ./update.php
url in includes/common.inc
Generates an internal or external URL.
_color_page_alter in modules/color/color.module
Callback for the theme to alter the resources used.
_color_rewrite_stylesheet in modules/color/color.module
Rewrite the stylesheet to match the colors in the palette.

Code

includes/common.inc, line 1725

<?php
function base_path() {
  return $GLOBALS['base_path'];
}
?>

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen