Pour IPB 2.0.x
Dans index.php
Rechercher :
CODE
//---------------------------------------------------
// Check to make sure the array key exits..
//---------------------------------------------------
$ibforums->input['_low_act'] = strtolower( $ibforums->input['act'] );
if (! isset($choice[ $ibforums->input['_low_act'] ][0]) )
{
$ibforums->input['act'] = 'idx';
}
// Check to make sure the array key exits..
//---------------------------------------------------
$ibforums->input['_low_act'] = strtolower( $ibforums->input['act'] );
if (! isset($choice[ $ibforums->input['_low_act'] ][0]) )
{
$ibforums->input['act'] = 'idx';
}
Remplacer par :
CODE
//---------------------------------------------------
// Check to make sure the array key exits..
//---------------------------------------------------
$ibforums->input['_low_act'] = strtolower( $ibforums->input['act'] );
if (! isset($choice[ $ibforums->input['_low_act'] ][0]) )
{
$ibforums->input['act'] = 'home';
}
// Check to make sure the array key exits..
//---------------------------------------------------
$ibforums->input['_low_act'] = strtolower( $ibforums->input['act'] );
if (! isset($choice[ $ibforums->input['_low_act'] ][0]) )
{
$ibforums->input['act'] = 'home';
}
Pour IPB 2.1.x
Dans index.php
Rechercher :
CODE
//---------------------------------------------------
// Check to make sure the array key exits..
//---------------------------------------------------
$ipsclass->input['_low_act'] = strtolower( $ipsclass->input['act'] );
if (! isset($choice[ $ipsclass->input['_low_act'] ][0]) )
{
$ipsclass->input['act'] = 'idx';
}
// Check to make sure the array key exits..
//---------------------------------------------------
$ipsclass->input['_low_act'] = strtolower( $ipsclass->input['act'] );
if (! isset($choice[ $ipsclass->input['_low_act'] ][0]) )
{
$ipsclass->input['act'] = 'idx';
}
Remplacer par :
CODE
//---------------------------------------------------
// Check to make sure the array key exits..
//---------------------------------------------------
$ipsclass->input['_low_act'] = strtolower( $ipsclass->input['act'] );
if (! isset($choice[ $ipsclass->input['_low_act'] ][0]) )
{
$ipsclass->input['act'] = 'home';
}
// Check to make sure the array key exits..
//---------------------------------------------------
$ipsclass->input['_low_act'] = strtolower( $ipsclass->input['act'] );
if (! isset($choice[ $ipsclass->input['_low_act'] ][0]) )
{
$ipsclass->input['act'] = 'home';
}
Voila, c'est finit. Le IPB Portal est maintenant en page d'accueil de votre forum
