From: preecej Date: Fri, 3 Feb 2012 23:47:46 +0000 (+0000) Subject: Corrected relative path of rotating images gallery when no custom path X-Git-Url: http://gitweb.planteome.org/?a=commitdiff_plain;h=893be6e02d7fbbd80ab81f4544d1daeeca1bb5f6;p=old-jaiswallab-svn%2F.git Corrected relative path of rotating images gallery when no custom path provided svn path=/; revision=294 --- diff --git a/lab_site_themes/osu_drupal_1_11/template.theme-registry.inc b/lab_site_themes/osu_drupal_1_11/template.theme-registry.inc index ee99521..3d0aa22 100644 --- a/lab_site_themes/osu_drupal_1_11/template.theme-registry.inc +++ b/lab_site_themes/osu_drupal_1_11/template.theme-registry.inc @@ -32,9 +32,20 @@ function osu_drupal_1_11_get_rotating_header_path() { } else { $osu_rotating_header_path = array( 'abs' => realpath('.').'/'.$theme_path.'/images/rotating_headers/', - 'rel' => base_path().'/'.$theme_path.'/images/rotating_headers/' // JP - bug fix + //'rel' => base_path().'/'.$theme_path.'/images/rotating_headers/' // JP - bug fix + 'rel' => base_path().''.$theme_path.'/images/rotating_headers/' ); } +/* + // JP - test block + echo ""; + echo "abs path: $osu_rotating_header_path[abs]
"; + echo "rel path: $osu_rotating_header_path[rel]
"; + echo base_path() . "
"; + echo "$use_custom_path
"; + echo "
"; + // JP - end test block +*/ return $osu_rotating_header_path; }