diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-02-28 23:42:39 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-02-28 23:42:39 +0100 |
commit | db9d7f2ff4154332d277be90e47cee678af7e372 (patch) | |
tree | 73747faa4d155310e6bbf47f7fc51261b35fb42a /inc/io.php | |
parent | a329ae32fe3d35706dbb5ef4feee1bb825194051 (diff) | |
download | rpg-db9d7f2ff4154332d277be90e47cee678af7e372.tar.gz rpg-db9d7f2ff4154332d277be90e47cee678af7e372.tar.bz2 |
fixed problem with io_sweepNS() on windows systems
darcs-hash:20060228224239-7ad00-74183c4f12a176a1c7712fac6278ca5d4ff9b705.gz
Diffstat (limited to 'inc/io.php')
-rw-r--r-- | inc/io.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/io.php b/inc/io.php index bf8bc903c..47f2e1149 100644 --- a/inc/io.php +++ b/inc/io.php @@ -21,8 +21,7 @@ function io_sweepNS($id){ //scan all namespaces while(($id = getNS($id)) !== false){ - $dir = $conf['datadir'].'/'.str_replace(':','/',$id); - $dir = utf8_encodeFN($dir); + $dir = $conf['datadir'].'/'.utf8_encodeFN(str_replace(':','/',$id)); //try to delete dir else return if(!@rmdir($dir)) return; |