Changeset 375:91268cf48758 for admin/blog_theme.php
- Timestamp:
- 06/15/11 15:14:25 (14 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blog_theme.php
r270 r375 156 156 157 157 $radio_id = 'theme_'.html::escapeHTML($id); 158 $theme_url = http::concatURL($core->blog->url,$core->blog->settings->system->themes_url.'/'.$id); 158 if (preg_match('#^http(s)?://#',$core->blog->settings->system->themes_url)) { 159 $theme_url = http::concatURL($core->blog->settings->system->themes_url,'/'.$id); 160 } else { 161 $theme_url = http::concatURL($core->blog->url,$core->blog->settings->system->themes_url.'/'.$id); 162 } 159 163 $has_conf = file_exists(path::real($core->blog->themes_path.'/'.$id).'/_config.php'); 160 164 $has_css = file_exists(path::real($core->blog->themes_path.'/'.$id).'/style.css');
Note: See TracChangeset
for help on using the changeset viewer.