Hallöchen auch,
Und welche Angabe *hast* du gemacht, beim Parameter von file_exists?
Ich selbst gar keine. Wie gesagt, es steht so im Script. Die Funktion ändert lediglich die slashes nach einem bestimmten Format. Was das soll: Steige ich so auf die Schnelle nicht hinter:
function toServerPath($sPath) {
$sPath = tx_ameosformidable::toRelPath($sPath);
if(file_exists($sPath) && is_dir($sPath) && ($sPath{(strlen($sPath) - 1)} !== "/")) {
$sPath .= "/";
}
return tx_ameosformidable::_removeEndingSlash(t3lib_div::getIndpEnv("TYPO3_DOCUMENT_ROOT")) . "/" . tx_ameosformidable::_removeStartingSlash($sPath);
}
MfG
cross