mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2180
This commit is contained in:
parent
42ac40af8b
commit
18dbab9c31
|
@ -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()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
# $Id$
|
||||
|
||||
|
|
Loading…
Reference in New Issue