X-Git-Url: http://git.pjr.cc/?a=blobdiff_plain;f=lib%2Flib.php;h=e446b091e1cd2f9d82f84d7b52ec7d4d77f4136b;hb=38f5cf40e82e0d3cc9bcc52cf5710f883dd3447a;hp=1a85a5e4cf23df9e509c3f269eb2cec8355af6e3;hpb=9ce9b80f33afddf2a4d3172e877d38489f8f55bb;p=glcas.git
diff --git a/lib/lib.php b/lib/lib.php
index 1a85a5e..e446b09 100644
--- a/lib/lib.php
+++ b/lib/lib.php
@@ -1,9 +1,15 @@
$bases) {
+ //echo "
checking $bases_cd for ".$bases["base"]." against \"".$urlcomps[0]."\"
";
+ if(strtolower($urlcomps[0]) == strtolower($bases["base"])) {
+ //echo "match
";
+ $func = $bases["function"];
+ return $func();
+ }
+ }
+}
?>
\ No newline at end of file