comparison index.php @ 88:7a9c45b53866

Add possibility to validate using validator.w3.org
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Wed, 17 Oct 2012 20:43:07 +0200
parents 4acaab0b02e2
children 6766250a0baa
comparison
equal deleted inserted replaced
86:b9654b9c4a66 88:7a9c45b53866
22 var_dump($_SERVER); 22 var_dump($_SERVER);
23 } 23 }
24 24
25 try { 25 try {
26 $input = new InputParser(basePath() . "/master.xml", $cache); 26 $input = new InputParser(basePath() . "/master.xml", $cache);
27 $input->genPage(); 27 $input->display();
28 } 28 }
29 catch (Exception $e) { 29 catch (Exception $e) {
30 errorPage($e, StatusCodes::HTTP_INTERNAL_SERVER_ERROR); 30 errorPage($e, StatusCodes::HTTP_INTERNAL_SERVER_ERROR);
31 } 31 }
32 /// @endcond 32 /// @endcond