Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (21 sloc) 0.564 kB
<?php
if (count($_SERVER["argv"]) == 0) {
include "breweries/list.php";
} else {
$cmd = getParamValue("cmd");
$id = getParamValue("id");
$name = getParamValue("name");
$type = getParamValue("type");
if ($cmd == "show") {
include "common/show.php";
} else if ($cmd == "delete") {
include "common/delete.php";
} else if ($cmd == "edit") {
include "breweries/edit.php";
} else if ($cmd == "search") {
include "breweries/search.php";
} else {
echo "<h3>INTERNAL ERROR</H3>";
}
}
?>
Jump to Line
Something went wrong with that request. Please try again.