PEAK XOOPS - Re: Testing /modules/ changer in englishin japanese

Re: Testing /modules/ changer

Target News
Subject Testing /modules/ changer
Summary Do you know short urls or simplified urls?Although it works fine with almost case, there are some unavoidable side effets .This hack is quite simple.You can change /modules/ as you like.I think there are much few side effect with this hack.insert 8 lin...

List posts in the topic

normal Re: Testing /modules/ changer

msg# 1.1.1.1.1.1
depth:
5
Previous post - Next post | Parent - No child | Posted on 2006/2/17 14:29
GIJOE  Gunnery Sergeant   Posts: 4110
At just a glance...

function modules_changer( $s ) 
{
$s = return str_replace( XOOPS_URL.'/modules/' , XOOPS_URL.'/buzau/' , $s) ;
$s = return str_replace( XOOPS_URL.'/modules/catads/' , XOOPS_URL.'/buzau/anunturi/' , $s ) ;
$s = return str_replace( XOOPS_URL.'/modules/newbb/' , XOOPS_URL.'/buzau/forum/' , $s ) ;
return str_replace( XOOPS_URL.'/mosules/friendfinder/' ,  XOOPS_URL.'/buzau/matrimoniale/' , $s ) ;
}
ob_start( 'modules_changer' ) ;
Votes:5 Average:6.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!