Show
Ignore:
Timestamp:
2007-06-03 18:48:59 (20 months ago)
Author:
fredck
Message:

Small corrections on alert texts for the File Browser.

Files:
1 modified

Legend:

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

    r355 r357  
    112112        // Get the slash according to the filesystem 
    113113        $slash = ( strpos( $sRealPath, '/' ) === false ) ? '\\' : '/' ; 
    114         $sSelfPath = str_replace('/', $slash, $sSelfPath) ; 
     114        $sSelfPath = str_replace( '/', $slash, $sSelfPath ) ; 
    115115         
    116         $position = strpos($sRealPath, $sSelfPath) ; 
     116        $position = strpos( $sRealPath, $sSelfPath ) ; 
    117117 
    118118        // This can check only that this script isn't run from a virtual dir 
    119119        // But it avoids problems the problems that arise if it isn't checked 
    120120        if ( $position === false || $position <> strlen( $sRealPath ) - strlen( $sSelfPath ) ) 
    121                 SendError( 1, "Sorry, can't map 'UserFilesPath' to a physical path. You must set the 'UserFilesAbsolutePath' value " . $position) ; 
     121                SendError( 1, 'Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/browser/default/connectors/php/config.php".' ) ; 
    122122 
    123123        return substr( $sRealPath, 0, $position ) ;