You are here

function _minisite_site_file_public_path_base_url in Mini site 7

Return real minisite file public path base url.

2 calls to _minisite_site_file_public_path_base_url()
minisite_site_load in ./minisite.module
Load minisite.
minisite_site_paths_info in includes/minisite.site.inc
Return minisite paths information.

File

includes/minisite.site.inc, line 301
minisite.site.inc

Code

function _minisite_site_file_public_path_base_url() {
  $minisite_site_base_url_real =& drupal_static(__FUNCTION__);
  if (!isset($minisite_site_base_url_real)) {
    global $base_url;
    $minisite_site_base_url_real = $base_url . '/' . variable_get('file_public_path', conf_path() . '/files') . '/';
  }
  return $minisite_site_base_url_real;
}