Make Unicode file and directory names available.

This commit is contained in:
Balázs Indig 2013-10-02 16:12:58 +02:00
parent d33b950331
commit 93df708bf5

View file

@ -43,6 +43,7 @@ class Pico {
// Get the file path
if($url) $file = CONTENT_DIR . $url;
else $file = CONTENT_DIR .'index';
$file=urldecode($file);
// Load the file
if(is_dir($file)) $file = CONTENT_DIR . $url .'/index'. CONTENT_EXT;