*** empty log message ***

svn path=/trunk/boinc/; revision=2180
This commit is contained in:
chrisz 2003-08-22 22:52:52 +00:00
parent 42ac40af8b
commit 18dbab9c31
2 changed files with 2 additions and 2 deletions

View File

@ -176,9 +176,9 @@ class PHPHTTPRequestHandler(CGIHTTPServer.CGIHTTPRequestHandler):
raise SystemExit('need fork()')
def serve(bind='', port=8000, handler=PHPHTTPRequestHandler):
setup_php(os.path.realpath(os.path.dirname(sys.argv[0])))
httpd = BaseHTTPServer.HTTPServer((bind,port), handler)
httpd.serve_forever()
if __name__ == '__main__':
setup_php(os.path.realpath(os.path.dirname(sys.argv[0])))
serve()

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# $Id$