View Single Post
Old 10-26-2006, 09:38 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Untested but find in the phpdigRewriteUrl function:
Code:
// phpdig 1.8.9 rc1

    $retour['path'] = mb_ereg_replace('(.*[^/])/?$','\1/',mb_ereg_replace('^/(.*)','\1',mb_ereg_replace("/+","/",$path)));

// phpdig 1.8.8

    $retour['path'] = ereg_replace('(.*[^/])/?$','\1/',ereg_replace('^/(.*)','\1',ereg_replace("/+","/",$path)));
And replace with the following:
Code:
// phpdig 1.8.9 rc1

    $retour['path'] = mb_ereg_replace('^/(.*)','\1',mb_ereg_replace("/+","/",$path));

// phpdig 1.8.8

    $retour['path'] = ereg_replace('^/(.*)','\1',ereg_replace("/+","/",$path));
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote