Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (36 sloc) 1.32 KB
<?php
/*
* Yet another burndown online generator, http://www.burndowngenerator.com
* Copyright (C) 2010 Francisco José Naranjo <fran.naranjo@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
include_once (dirname(__FILE__) . '/startup.php');
include_once (dirname(__FILE__) . '/includes/classes/Dispatcher.class.php');
$d = new Dispatcher();
$redirect = $d->dispatch();
if(!is_null($redirect)) {
$redirect->execute();
/*
$action = $redirect['program'];
include_once(dirname(__FILE__) . '/includes/classes/pages/' . $action . '.class.php');
$page = new $action($redirect['params']);
$page->execute();
*/
}
else {
header('HTTP/1.0 404 Not Found');
}
include_once (dirname(__FILE__) . '/shutdown.php');
?>