Ticket #2124: 2124_1.patch
File 2124_1.patch, 542 bytes (added by , 16 years ago) |
---|
-
editor/filemanager/connectors/php/io.php
155 155 } 156 156 $sRealPath = realpath( './' ) ; 157 157 // #2124 ensure that no slash is at the end 158 $sRealPath = trim($sRealPath,"\\/");158 $sRealPath = rtrim($sRealPath,"\\/"); 159 159 160 160 $sSelfPath = $_SERVER['PHP_SELF'] ; 161 161 $sSelfPath = substr( $sSelfPath, 0, strrpos( $sSelfPath, '/' ) ) ;