2010-11-08 2 views

Répondre

0
$location = 'somelocation'; // or however you're getting somelocation 
if (strpos($location, '/') === 0) { 
    $location = substr($location, 1); 
} 
str_replace('url(', 'url(' . $location, $content); 
Questions connexes