From 3009a773c06e6e5d731c42b12ad82272f9706f03 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 28 Jul 2012 10:40:48 +0200 Subject: replaced use of basename() with utf8_basename() FS#2015 --- bin/dwpage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/dwpage.php b/bin/dwpage.php index 211bc5a9e..bc9c0f6bb 100755 --- a/bin/dwpage.php +++ b/bin/dwpage.php @@ -241,7 +241,7 @@ switch ( $OPTS->arg(0) ) { $TARGET_FN = $OPTS->arg(2); if ( empty($TARGET_FN) ) { - $TARGET_FN = getcwd().'/'.basename($WIKI_FN); + $TARGET_FN = getcwd().'/'.utf8_basename($WIKI_FN); } if ( !file_exists(dirname($TARGET_FN)) ) { -- cgit v1.2.3