- $this->app->request_mgr($this, $header_out, $new_socket, $path, $addr, $get, $post, $cookie);
+ $subs = SITE_PREFIX."briskin5/";
+ $subs_l = strlen($subs);
+ $rret = FALSE;
+ if (!strncmp($path, SITE_PREFIX, SITE_PREFIX_LEN)) {
+ $rret = $this->app->request_mgr($this, $header_out, $new_socket, substr($path, SITE_PREFIX_LEN), $addr, $get, $post, $cookie);
+ }
+ if ($rret == FALSE) {
+ // FIXME: manage 404 !!!
+ printf("TODO: fix unknown page\n");
+ }