Parcourir la source

Don't depend on webserver URL rewriting

Frans Bergman il y a 5 ans
Parent
commit
f8c64dd159
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app.php

+ 1 - 1
app.php

@@ -87,7 +87,7 @@ EOT;
           $selected = "active";
 
         if ($menurow['valuetype'] == "page") {
-          $link = "/" . $menurow['value'];
+          $link = "?p=" . $menurow['value'];
         } else {
           $link = $menurow['value'];
         }