#18326751 : fixed a bug that file name in unicode is missing with some environments

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6960 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-11-23 08:16:40 +00:00
parent 3a9f49d642
commit b53dded298

View file

@ -62,6 +62,7 @@
* @return none
**/
function copyFile($source, $target, $force='Y'){
setlocale(LC_CTYPE, 'en_US.UTF8', 'ko_KR.UTF8');
$source = FileHandler::getRealPath($source);
$target_dir = FileHandler::getRealPath(dirname($target));
$target = basename($target);