comparison index.php @ 49:4e85d97e41b6

Whoops, forgot the global uri.
author nanaya <me@myconan.net>
date Fri, 07 Aug 2015 21:01:49 +0900
parents c388003e921a
children 5a4c9efd99fc
comparison
equal deleted inserted replaced
48:c388003e921a 49:4e85d97e41b6
84 84
85 return $tree_link; 85 return $tree_link;
86 } 86 }
87 87
88 function up_link() { 88 function up_link() {
89 global $uri;
89 if ($uri !== "/") { 90 if ($uri !== "/") {
90 return "<tr><td colspan=3>" . link_to(dirname($uri) . "/", "[up]") . "</td></tr>"; 91 return "<tr><td colspan=3>" . link_to(dirname($uri) . "/", "[up]") . "</td></tr>";
91 } 92 }
92 } 93 }
93 94