-/* $Id: httpd.js,v 1.38 2005/07/09 07:41:53 mmondor Exp $ */
+/* $Id: httpd.js,v 1.39 2005/07/09 08:05:08 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.38 2005/07/09 07:41:53 mmondor Exp $';
+SERVER_CVSID = '$Id: httpd.js,v 1.39 2005/07/09 08:05:08 mmondor Exp $';
*/
function VHost(o)
{
- var scripts = false;
-
/*
* A few properties are definitely required
*/
this.name = o.name;
if (o.scripts != undefined && o.scripts == true)
- scripts = true;
+ this.scripts = true;
/*
* Create VHost object
*/
try {
this.htdocs_root = new Root(o.root + '/htdocs');
- if (scripts) {
- this.scripts = true;
- this.jsinc_root = new Root(o.root + '/jsinc');
- }
} catch (x) {
throw (x);
}