8 lines
215 B
PHP
8 lines
215 B
PHP
<?php
|
|
include 'config.php';
|
|
$host_port=$argv[1];
|
|
$CONFIG['overwrite.cli.url'] = 'http://' . $host_port ;
|
|
$CONFIG['trusted_domains'] = [$host_port];
|
|
print("<?php\n");
|
|
print( '$CONFIG='.var_export($CONFIG,true).';');
|