13dbcc341b0f8b68fd82d81697b0d9fa6189ffb2
[glcas.git] / plugins / webbase.php
1 <?php 
2
3 global $URL_HANDLERS;
4 $URL_HANDLERS["/"] = "GLCASWebBase";
5
6
7 class GLCASWebBase {
8         function __construct($config)
9         {
10                 $this->config = $config;
11                 error_log("construct GLCASWebBase");
12         }
13         
14         function go($url)
15         {
16                 error_log("go GLCASWebBase");
17                 GLCASpageBuilder($this, "body");
18         }
19         
20         function body($url)
21         {
22                 echo "i am disturbing";
23         }
24         
25         private $config;
26 }
27
28
29 ?>