// modules changer (insert this 8 lines)
if( ! function_exists( 'modules_changer' ) ) {
$_SERVER['REQUEST_URI'] = str_replace( '/md/' , '/modules/' , @$_SERVER['REQUEST_URI'] ) ;
$_SERVER['HTTP_REFERER'] = str_replace( '/md/' , '/modules/' , @$_SERVER['HTTP_REFERER'] ) ;
function modules_changer( $s ) {
return str_replace( XOOPS_URL.'/modules/' , XOOPS_URL.'/md/' , $s ) ;
}
ob_start( 'modules_changer' ) ;
}