Re: Mon site plus en ligne ! | Titre du sujet : Re: Mon site plus en ligne ! par kaaji sur 06/10/2007 09:02:26
Vérifie que tu est bien ca dans ton mainfile.php stp
if (DIRECTORY_SEPARATOR != '/') {
// IIS6 may double the chars
$xoopsScriptPath = str_replace(strpos($xoopsScriptPath,'\\',2 ) ? '\\' : DIRECTORY_SEPARATOR,'/',$xoopsScriptPath);
}
if (strcasecmp(substr($xoopsScriptPath,0,strlen(XOOPS_ROOT_PATH)),str_replace(DIRECTORY_SEPARATOR,'/',XOOPS_ROOT_PATH))) {
exit("XOOPS path check: Script is not inside XOOPS_ROOT_PATH and cannot run.");
}}
En particulier cette ligne $xoopsScriptPath = str_replace(strpos($xoopsScriptPath,'\\\\',2 ) ? '\\\\' : DIRECTORY_SEPARATOR,'/',$xoopsScriptPath);
|
|