Make Unicode file and directory names available.
This commit is contained in:
parent
d33b950331
commit
93df708bf5
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue