Changeset 643632
- Timestamp:
- 12/23/2012 10:42:07 AM (13 years ago)
- File:
-
- 1 edited
-
glass/trunk/glass.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
glass/trunk/glass.php
r643546 r643632 89 89 function addScript() 90 90 { 91 $file = get_option(' home')91 $file = get_option('siteurl') 92 92 .'/wp-content/plugins/' 93 93 .dirname(plugin_basename(__FILE__)) … … 126 126 } 127 127 /* Add basename for image URLs. */ 128 $url = get_option(' home')128 $url = get_option('siteurl') 129 129 .'/wp-content/plugins/'.dirname(plugin_basename(__FILE__)) ."/"; 130 130 echo " document.myrtheGlassImgURL='$url';\n"; … … 211 211 if ($path != '') { 212 212 if (!strstr($path, '/')) 213 $path = get_option(' home')."/wp-content/plugins/glass/".$path;213 $path = get_option('siteurl')."/wp-content/plugins/glass/".$path; 214 214 if (substr($path, -1) != '/') 215 215 $path .= '/'; … … 272 272 273 273 /* Glass Rim Image Path. */ 274 $eg = get_option(' home')."/wp-content/plugins/glass/spy/";274 $eg = get_option('siteurl')."/wp-content/plugins/glass/spy/"; 275 275 $key = "myrtheGlassRimPath"; 276 276 $val = $myrtheGlassOptions[$key];
Note: See TracChangeset
for help on using the changeset viewer.