Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GIP RENATER
switch-wayf
Commits
651866c8
Commit
651866c8
authored
Mar 07, 2019
by
Lukas Haemmerle
Browse files
Fixed bug
parent
c151ab8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/update-config.php
View file @
651866c8
...
...
@@ -8,9 +8,9 @@ if (isset($_SERVER['REMOTE_ADDR'])){
}
$topLevelDir
=
dirname
(
__DIR__
);
$distConfigFilePath
=
$topLevelDir
.
'/etc/config.dist.php'
)
;
$newConfigFilePath
=
$topLevelDir
.
'/etc/config.new.php'
)
;
$currentConfigFilePath
=
$topLevelDir
.
'/etc/config.php'
)
;
$distConfigFilePath
=
$topLevelDir
.
'/etc/config.dist.php'
;
$newConfigFilePath
=
$topLevelDir
.
'/etc/config.new.php'
;
$currentConfigFilePath
=
$topLevelDir
.
'/etc/config.php'
;
if
(
!
file_exists
(
$distConfigFilePath
))
{
die
(
"The default configuration file 'config.dist.php' does not exist in configuration directory!"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment