Selaa lähdekoodia

Make Unicode file and directory names available.

Balázs Indig 11 vuotta sitten
vanhempi
commit
93df708bf5
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      lib/pico.php

+ 1 - 0
lib/pico.php

@@ -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;