Ticket #2124: 2124.patch

File 2124.patch, 1.1 KB (added by Wiktor Walc, 12 years ago)
  • _whatsnew.html

     
    5151                        which stopped working in FCKeditor 2.6.</li>
    5252                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2039">#2039</a>] Fixed the locking up issue
    5353                        in the Find/Replace dialog.</li>
     54                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2124">#2124</a>] PHP file brower: fixed
     55                        issue with resolving paths on Windows servers with PHP 5.2.4/5.2.5.</li>
    5456        </ul>
    5557        <h3>
    5658                Version 2.6</h3>
  • editor/filemanager/connectors/php/io.php

     
    154154                global $_SERVER;
    155155        }
    156156        $sRealPath = realpath( './' ) ;
     157        // #2124 ensure that no slash is at the end
     158        $sRealPath = trim($sRealPath,"\\/");
    157159
    158160        $sSelfPath = $_SERVER['PHP_SELF'] ;
    159161        $sSelfPath = substr( $sSelfPath, 0, strrpos( $sSelfPath, '/' ) ) ;
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy