Commit 9f7db8ca authored by Sophie Herold's avatar Sophie Herold
Browse files

Changes write_php_cgi() to be independent of PHP major version

parent e47b93f4
......@@ -286,7 +286,7 @@ class write_php_cgi(base.Sink):
def send(self, chunk):
filepath = chunk['filepath']
with open(filepath, 'w') as f:
f.write('#!/bin/bash\nexec /usr/lib/cgi-bin/php5')
f.write('#!/bin/bash\nexec /usr/lib/cgi-bin/php')
class make_home_dirs(base.Sink):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment