diff --git a/index.php b/index.php
index 0bd1582..857d673 100644
--- a/index.php
+++ b/index.php
@@ -24,20 +24,6 @@
- //Check if home and back buttons are needed
- if($currentdir != $basedir) {
- echo("
");
- echo("
Inici");
-
- //Solve ocurrences where url has ?q=./
- if (dirname($_GET["q"]) == ".") {
- $parentdir = "";
- }
- else $parentdir = dirname($_GET["q"]);
-
- echo("
Arrere");
- echo("
");
- }
echo("
");
@@ -84,6 +70,21 @@
}
printf('/%s
', $_GET["q"]);
+
+ //Check if home and back buttons are needed
+ if($currentdir != $basedir) {
+ echo("");
+ echo("
Inici");
+
+ //Solve ocurrences where url has ?q=./
+ if (dirname($_GET["q"]) == ".") {
+ $parentdir = "";
+ }
+ else $parentdir = dirname($_GET["q"]);
+
+ echo("
Arrere");
+ echo("
");
+ }
?>