$logo_path = preg_replace('@^'. $base_path .'@', '', $variables['logo']);
Is there really no better way to do this than a regexp in theme code??
$logo_path = preg_replace('@^'. $base_path .'@', '', $variables['logo']);
Is there really no better way to do this than a regexp in theme code??
Comments
Comment #1
psynaptic commentedI would definitely take a patch, although you do already have access to commit to Clean yourself!