patch_config php tool

This commit is contained in:
philippe lhardy
2025-07-29 14:04:25 +02:00
parent 340c040f1f
commit e09e225888

View File

@@ -0,0 +1,7 @@
<?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).';');