summaryrefslogtreecommitdiff
path: root/framework/I18N
diff options
context:
space:
mode:
Diffstat (limited to 'framework/I18N')
-rw-r--r--framework/I18N/TGlobalization.php4
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;
}