Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloud-config-converter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-12-06 11:03:43 +0300
committerJoas Schilling <coding@schilljs.com>2021-12-06 11:03:43 +0300
commit25d7e0e61186f062c21f0ec03394327d3e87311d (patch)
tree334edbf18ea4b546ea9ac031ec517e42569f16a9
parent86a62b09b5773e3ba7aac32be707a0f918dce850 (diff)
Our repo is called server
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--README.md2
-rw-r--r--convert.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index beb7476..a2521fd 100644
--- a/README.md
+++ b/README.md
@@ -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";