*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Sat, 9 Jul 2005 08:05:08 +0000 (08:05 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Sat, 9 Jul 2005 08:05:08 +0000 (08:05 +0000)
tests/js-test/js/httpd/httpd.js

index b9733ad..96c33ed 100644 (file)
@@ -1,4 +1,4 @@
-/* $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
@@ -98,7 +98,7 @@ eval(file_read('root.js'));           /* Root object for virtual chroot(2) */
  * 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 $';
 
 
 
@@ -121,8 +121,6 @@ var default_vhost = undefined;
  */
 function VHost(o)
 {
-       var scripts = false;
-
        /*
         * A few properties are definitely required
         */
@@ -132,17 +130,13 @@ function VHost(o)
        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);
        }