Re: Message d'ereur | Titre du sujet : Re: Message d'ereur par DragonTribal sur 20/08/2010 16:37:35
alors il y a une erreur dans le poste sur mainfile.php
surment le codage du forum, qui a manger 3 "" (\\\)
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
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."); } }
|
|