Setting up my convoluted web parsing structure... in short:
[glcas.git] / plugins / admin.php
diff --git a/plugins/admin.php b/plugins/admin.php
new file mode 100644 (file)
index 0000000..4e24665
--- /dev/null
@@ -0,0 +1,24 @@
+<?php 
+
+error_log("admin loaded");
+
+global $URL_HANDLERS;
+$URL_HANDLERS["admin.*"] = "GLCASAdmin";
+
+class GLCASAdmin {
+       function __construct($config)
+       {
+               $this->config = $config;
+               error_log("constructor for GLCASAdmin");
+               
+       }
+       
+       function go($url)
+       {
+               echo "admin page";
+       }
+       
+       private $config;
+}
+
+?>
\ No newline at end of file