Whoops, forgot the global uri.
1 files changed, 1 insertions(+), 0 deletions(-)

M index.php
M index.php +1 -0
@@ 86,6 86,7 @@ 
   }
 
   function up_link() {
+    global $uri;
     if ($uri !== "/") {
       return "<tr><td colspan=3>" . link_to(dirname($uri) . "/", "[up]") . "</td></tr>";
     }