dynamic-dns-netcup-api icon indicating copy to clipboard operation
dynamic-dns-netcup-api copied to clipboard

Specify config files on command line

Open hpreusse opened this issue 2 years ago • 0 comments

Not sure, if I missed that option. It should be possible to specify the config file on the command line. In my personal hack it looks like this:

diff -urN dynamic-dns-netcup-api-master_mod_hilmar/functions.php dynamic-dns-netcup-api-master_mod_hilmar_orig/functions.php
--- dynamic-dns-netcup-api-master_mod_hilmar/functions.php      2021-10-23 14:53:58.036193565 +0200
+++ dynamic-dns-netcup-api-master_mod_hilmar_orig/functions.php 2018-06-10 05:27:20.000000000 +0200
@@ -1,6 +1,6 @@
 <?php

-require_once $argv[1];
+require_once 'config.php';

 //Declare possbile options
 $quiet = false;

Yes, this is based on a old release.``

hpreusse avatar Jun 17 '22 22:06 hpreusse