Only allow GET and POST HTTP request and die otherwise.
[Project_webapp.git] / header.php
index e81db379e5b1139c34fbfe2cc531fe1b2e400697..ac394bfae0d8429433b195a446774f661996514c 100644 (file)
@@ -1,5 +1,18 @@
 <?php
 include('header.html');
+/**
+ * Let's use an array as the list of tunables.
+ * Put in a variable the inclusion of this file:
+ * $config_var = include('config.php');
+ */
+$configs = include('config.php');
+?>
+<div id="header">
+    <!-- Put headers stuff here -->
+    <a href="<?php echo $configs['root_url'] ?>/index.php?page=home">Bienvenue sur Air Polytech !</a>
+</div>
+<?php
+
 function display_menu() {
     switch ($page) {
         case "home":