-/* $Id: httpd.js,v 1.45 2005/07/09 19:00:04 mmondor Exp $ */
+/* $Id: httpd.js,v 1.46 2005/07/09 19:15:26 mmondor Exp $ */
/*
* Copyright (c) 2005, Matthew Mondor
* Server identification
*/
SERVER_VERSION = 'mmondor_js_httpd/0.0.1 (NetBSD)';
-SERVER_CVSID = '$Id: httpd.js,v 1.45 2005/07/09 19:00:04 mmondor Exp $';
+SERVER_CVSID = '$Id: httpd.js,v 1.46 2005/07/09 19:15:26 mmondor Exp $';
o.name = o.name.toLowerCase();
this.name = o.name;
- if (o.scripts != undefined && o.scripts == true)
+ if (o.scripts != undefined && o.scripts == true) {
this.scripts = true;
+ this.globals = {};
+ }
/*
* Create VHost object
obj.post = this.http_vars_post;
obj.cookie = this.http_vars_cookies;
obj.session = this.http_vars_session;
+ obj.global = this.http_vhost.globals;
/*
* Check if object in our cache already and file not modified