index.php 357 B

12345678910111213
  1. <?php
  2. //require_once("../application/config/config.php");
  3. include "../application/config/config.php";
  4. include_once($path["controller"]);
  5. $request = $_SERVER['REQUEST_URI'];
  6. $params = explode('/', $request);
  7. // Here you should probably gather the rest as params
  8. // Call the action
  9. $controller = new Controller($params);
  10. ?>