﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2124	Path problem under Windows	GaborToth		"Hello!

I noticed that FCKeditor's PHP Connector doesn't work under Windows. Linux is work as expected.

The problem is in io.php file on line 156: $sRealPath = realpath( './' ) ;

Under windows $sRealPath will be ""c:\....\editor\filemanager\connectors\php\"". 

That last backslash is the problem, it doesn't appear on linux systems. Thats why line 168 

if ( $position === false || $position <> strlen( $sRealPath ) - strlen( $sSelfPath ) ) is true. 

I suggest to change this:

$sRealPath = realpath( './' ) ;

to 

$sRealPath = realpath( '.' ) ;


On linux systems these calls are equivalent, but under windows second one would work as expected."	Bug	closed	Normal	FCKeditor 2.6.1	Server : PHP		fixed	Confirmed HasPatch	
