* remove dispatcher

This commit is contained in:
<bdauvergne@entrouvert.com> 1210175597 +0200 0001-01-01 00:00:00 +00:00
parent e23c502c77
commit 9c703e7981
1 changed files with 0 additions and 12 deletions

View File

@ -1,12 +0,0 @@
<?php
function dispatch ($urls) {
$path_info = $_SERVER['PATH_INFO'];
$fname = $urls[$path_info];
if ($fname) {
$fname();
exit(0);
} else {
header("HTTP/1.0 404 Not Found");
exit(0);
}
}