$logo_path = preg_replace('@^'. $base_path .'@', '', $variables['logo']);

Is there really no better way to do this than a regexp in theme code??

Comments

psynaptic’s picture

Status: Active » Needs work

I would definitely take a patch, although you do already have access to commit to Clean yourself!