From 5a6558dfdc542d87dd455b098e562689a0536eda Mon Sep 17 00:00:00 2001 From: bnu Date: Mon, 27 Jan 2014 15:20:50 +0900 Subject: [PATCH] =?UTF-8?q?NOISSUE=20windows=EC=97=90=EC=84=9C=20=EC=84=A4?= =?UTF-8?q?=EC=B9=98=20=EC=8B=9C=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/file/FileHandler.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/file/FileHandler.class.php b/classes/file/FileHandler.class.php index f05557523..eeda383df 100644 --- a/classes/file/FileHandler.class.php +++ b/classes/file/FileHandler.class.php @@ -230,9 +230,9 @@ class FileHandler $path = self::getRealPath($path); $output = array(); - if(substr($path, -1) != DIRECTORY_SEPARATOR) + if(substr($path, -1) != '/') { - $path .= DIRECTORY_SEPARATOR; + $path .= '/'; } if(!is_dir($path)) @@ -263,7 +263,7 @@ class FileHandler $file = sprintf('%s%s', str_replace(_XE_PATH_, '', $path), $file); } - $output[] = str_replace(array('/\\', '//'), DIRECTORY_SEPARATOR, $file); + $output[] = str_replace(array('/\\', '//'), '/', $file); } return $output;