﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
412	Custom names for folders when UseFileType is activated (php)	iznogud		"In some installations may be necessary to use other names than File, Image, Flash or Media for the default folders. For example, for other languages, etc.
What I did to give a solution is to define the following in config.php (php connector folder):

{{{
$Config['DirName']['File'] = ""file""; // custom names for folders
$Config['DirName']['Image'] = ""image"";
$Config['DirName']['Flash'] = ""flash"";
$Config['DirName']['Media'] = ""media"";
}}}

In io.php, I added some lines to GetUrlFromPath and ServerMapFolder functions.
In both functions add:

{{{
global $Config ;
}}}

and change

{{{
strtolower( $resourceType )
}}}

for

{{{
$Config['DirName'][$resourceType]
}}}

It works fine. Any other suggestions?
Thanks.

"	New Feature	closed	Normal		File Browser	FCKeditor 2.4.2	duplicate		
