concordia search
This commit is contained in:
parent
91eebad698
commit
9c1c7957c7
@ -37,6 +37,12 @@ with open('concordia_gate.php_pattern', 'r') as gate_pattern_file, open(root_dir
|
|||||||
line = re.sub('@concordia_port@', concordia_port, line)
|
line = re.sub('@concordia_port@', concordia_port, line)
|
||||||
gate_file.write(line)
|
gate_file.write(line)
|
||||||
|
|
||||||
|
with open('concordia_search.php_pattern', 'r') as search_pattern_file, open(root_dir+'/concordia_search.php', 'w') as search_file:
|
||||||
|
for line in search_pattern_file:
|
||||||
|
line = re.sub('@concordia_host@', concordia_host, line)
|
||||||
|
line = re.sub('@concordia_port@', concordia_port, line)
|
||||||
|
search_file.write(line)
|
||||||
|
|
||||||
|
|
||||||
versions_dir = 'versions_enabled'
|
versions_dir = 'versions_enabled'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user