X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/f6e177a89832ba36409ac845eb72522e051bb0f3..40c42534b9daa1f8386b836128866d4383572bae:/www/setup.php diff --git a/www/setup.php b/www/setup.php index f0be905..485c19f 100644 --- a/www/setup.php +++ b/www/setup.php @@ -103,6 +103,7 @@ if (array_sum($GLOBALS['phorkie']['cfgfiles']) == 0) { $cfgFileTemplate = htmlspecialchars( file_get_contents(__DIR__ . '/../data/config.php.dist') ); + $cfgFileLines = count(explode("\n", $cfgFileTemplate)); $out .= <<Configuration file @@ -114,7 +115,7 @@ if (array_sum($GLOBALS['phorkie']['cfgfiles']) == 0) {

from the following template:

-
$cfgFileTemplate
+

Remove the leading // from a line if you want to adjust it.

@@ -122,8 +123,8 @@ HTM; } $out .= << - back to the index +

+ back to the index