Forum » » Le coin des codeurs » » Tiny_mce HS après URL Rewriting ou changement de nom de submit.php
Posté : 15 mai 2008 à 15:28
<?PHP
// Static page and Module can have Bloc, Title ....
if ($pages_ref=="static.php")
{
$pages_ref=substr($REQUEST_URI,strpos($REQUEST_URI,"static.php"));
}
////////////////////
//DEBUT AJOUT OIM///
////////////////////
/*rewriting*/
$Fichier = stristr($pages_ref, '.html');
if ($pages_ref=="modules.php" || $Fichier) /*ajout de || $ Fichier*/
////////////////////
//FIN AJOUT OIM///
////////////////////
{
if (isset($PAGES["modules.php?ModPath=$ModPath&ModStart=$ModStart*"][title]))
{
$pages_ref="modules.php?ModPath=$ModPath&ModStart=$ModStart*";
}
else
$pages_ref=substr($REQUEST_URI,strpos($REQUEST_URI,"modules.php"));
}
if ($pages_ref=="admin.php")
{
if (isset($PAGES["admin.php?op=Extend-Admin-SubModule&ModPath=$ModPath&ModStart=admin/admin*"][css]))
{
$pages_ref="admin.php?op=Extend-Admin-SubModule&ModPath=$ModPath&ModStart=admin/admin*";
}
}
?>
Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=23585&forum=5