phpDocumentor default
[ class tree: default ] [ index: default ] [ all elements ]

Source for file index.php

Documentation is available at index.php

  1. <?php
  2.  
  3. /**
  4.  * Add Wodafok Source to the include path.
  5.  * It's your responsability
  6.  */
  7. $dir = \dirname(__FILE__);
  8. $path $dir;
  9. \set_include_path(\get_include_path(. \PATH_SEPARATOR $path);
  10. require_once 'Classes' . \DIRECTORY_SEPARATOR 'Autoloader.php';
  11. require_once 'Config' . \DIRECTORY_SEPARATOR 'WoDaFoK.php';
  12.  
  13. /**
  14.  *
  15.  *
  16.  * @author Jouanno Jonathan
  17.  */
  18. if (file_exists('maintenance.html')) {
  19.     include 'maintenance.html';
  20.     exit();
  21. }
  22. $cfg new \WoDaFoK();
  23.  
  24. $Wodafok new \Wodafok\Wodafok($cfg);
  25. //// Execute la requete
  26. $Wodafok->execute($_SERVER['REQUEST_URI']);
  27.  
  28. ?>

Documentation generated on Mon, 13 Aug 2012 23:01:09 +0200 by phpDocumentor 1.4.4