Fork me on GitHub

Rapport de message :*
 

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,'\\',) ? '\\' 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);
Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

123 Personne(s) en ligne (109 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 123 | Plus ...