diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | convert.php | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ Install the dependencies with `composer`: ## How to use -Just call following in your Nextcloud core repo: +Just call following in your Nextcloud server repo: php path/to/convert.php diff --git a/convert.php b/convert.php index af489ae..16f87a8 100644 --- a/convert.php +++ b/convert.php @@ -57,7 +57,7 @@ function escapeRST($string) { // tag which invokes to copy a config description to the current position $COPY_TAG = 'see'; // file which should be parsed -$CONFIG_SAMPLE_FILE = '../core/config/config.sample.php'; +$CONFIG_SAMPLE_FILE = '../server/config/config.sample.php'; // config documentation file to put content in $OUTPUT_FILE = 'admin_manual/configuration/config_sample_php_parameters.rst'; @@ -74,7 +74,7 @@ $options = getopt( if(array_key_exists('h', $options) || array_key_exists('help', $options)) { $helptext = $argv[0] . " [OPTION] ... (all options are optional)\n\n" . " -h, --help Print this help text\n". - " -iFILE, --input-file=FILE Specify the input file (Default: ../core/config/config.sample.php)\n". + " -iFILE, --input-file=FILE Specify the input file (Default: ../server/config/config.sample.php)\n". " -oFILE, --output-file=FILE Specify the output file (Default: admin_manual/configuration/config_sample_php_parameters.rst)\n". " -tNAME, --tag=NAME Tag to use for copying a config entry (default: see)\n". "\n"; |