Display the list of pages in a shorter way :
[banana.git] / examples / index.php
index 7893f06..30983df 100644 (file)
@@ -10,6 +10,7 @@
 require_once("banana/banana.inc.php");
 $res = Banana::run();
 
+if ($res != "") {
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
@@ -33,3 +34,8 @@ $res = Banana::run();
     </div>
   </body>
 </html>
+<?php
+}
+
+// vim:set et sw=4 sts=4 ts=4
+?>