Don't calculate static_dir in the fcgi files - we no longer use it
[invirt/packages/invirt-web.git] / code / auth.fcgi
index e48729a..a200449 100755 (executable)
@@ -19,8 +19,6 @@ With `config`, run standalone with CherryPy config from `config`.
     sys.exit(2)
 
 if __name__ == "__main__":
-    static_dir = os.path.join(base_dir, 'static')
-
     if len(sys.argv) > 2:
         usage()
     if len(sys.argv) > 1:
@@ -35,11 +33,6 @@ if __name__ == "__main__":
         '/': {
             'tools.invirtwebstate.on': True,
             },
-        '/static': {
-            'tools.staticdir.root': static_dir,
-            'tools.staticdir.on': True,
-            'tools.staticdir.dir': static_dir,
-            }
         }
                     
     app = cherrypy.tree.mount(InvirtWeb(),