patch_config php tool
This commit is contained in:
7
nextcloud_devenv/patch_config.php
Normal file
7
nextcloud_devenv/patch_config.php
Normal 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).';');
|
||||||
Reference in New Issue
Block a user