diff options
author | xue <> | 2007-08-06 18:58:55 +0000 |
---|---|---|
committer | xue <> | 2007-08-06 18:58:55 +0000 |
commit | edfdfdd1cbf6d597551d4128e7e11d6d92bcdf95 (patch) | |
tree | 9a39721593e768419fb58c8b21e88ff4748bb0ae /framework/I18N/TGlobalization.php | |
parent | 1031b56f982f973f85cb3e1528f7bcbba662778f (diff) |
fixed #685
Diffstat (limited to 'framework/I18N/TGlobalization.php')
-rw-r--r-- | framework/I18N/TGlobalization.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/I18N/TGlobalization.php b/framework/I18N/TGlobalization.php index c2a4f5ed..471869c7 100644 --- a/framework/I18N/TGlobalization.php +++ b/framework/I18N/TGlobalization.php @@ -256,10 +256,10 @@ class TGlobalization extends TModule $variants = $this->getCultureVariants($culture);
$path = pathinfo($file);
foreach($variants as $variant)
- $files[] = $path['dirname'].'/'.$variant.'/'.$path['basename'];
+ $files[] = $path['dirname'].DIRECTORY_SEPARATOR.$variant.DIRECTORY_SEPARATOR.$path['basename'];
$filename = substr($path['basename'],0,strrpos($path['basename'],'.'));
foreach($variants as $variant)
- $files[] = $path['dirname'].'/'.$filename.'.'.$variant.'.'.$path['extension'];
+ $files[] = $path['dirname'].DIRECTORY_SEPARATOR.$filename.'.'.$variant.'.'.$path['extension'];
$files[] = $file;
return $files;
}
|