Show
Ignore:
Timestamp:
2008-05-15 07:30:43 (6 months ago)
Author:
wwalc
Message:

Additional fix for #2124, previous code broke GetRootPath on linux systems

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/filemanager/connectors/php/io.php

    r1942 r1998  
    156156        $sRealPath = realpath( './' ) ; 
    157157        // #2124 ensure that no slash is at the end 
    158         $sRealPath = trim($sRealPath,"\\/"); 
     158        $sRealPath = rtrim($sRealPath,"\\/"); 
    159159 
    160160        $sSelfPath = $_SERVER['PHP_SELF'] ;