Dotclear


Ignore:
Timestamp:
05/22/12 15:54:18 (13 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Cope with full URL in themes_url

File:
1 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/_config.php

    r810 r832  
    1313l10n::set(dirname(__FILE__).'/locales/'.$_lang.'/admin'); 
    1414 
    15 $img_url = $core->blog->settings->system->themes_url.'/'.$core->blog->settings->system->theme.'/img/'; 
    16 $img_url = http::concatURL($core->blog->url,$img_url); 
     15if (preg_match('#^http(s)?://#',$core->blog->settings->system->themes_url)) { 
     16     $img_url = http::concatURL($core->blog->settings->system->themes_url,'/'.$core->blog->settings->system->theme.'/img/'); 
     17} else { 
     18     $img_url = http::concatURL($core->blog->url,$core->blog->settings->system->themes_url.'/'.$core->blog->settings->system->theme.'/img/'); 
     19} 
    1720$img_path = dirname(__FILE__).'/img/'; 
    1821 
Note: See TracChangeset for help on using the changeset viewer.

Sites map