Brand it 🙈
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
1c88e59930
commit
e9ab7e4fc6
|
@ -75,11 +75,11 @@ try {
|
||||||
|
|
||||||
$oldWorkingDir = getcwd();
|
$oldWorkingDir = getcwd();
|
||||||
if ($oldWorkingDir === false) {
|
if ($oldWorkingDir === false) {
|
||||||
echo "This script can be run from the ownCloud root directory only." . PHP_EOL;
|
echo "This script can be run from the Nextcloud root directory only." . PHP_EOL;
|
||||||
echo "Can't determine current working dir - the script will continue to work but be aware of the above fact." . PHP_EOL;
|
echo "Can't determine current working dir - the script will continue to work but be aware of the above fact." . PHP_EOL;
|
||||||
} else if ($oldWorkingDir !== __DIR__ && !chdir(__DIR__)) {
|
} else if ($oldWorkingDir !== __DIR__ && !chdir(__DIR__)) {
|
||||||
echo "This script can be run from the ownCloud root directory only." . PHP_EOL;
|
echo "This script can be run from the Nextcloud root directory only." . PHP_EOL;
|
||||||
echo "Can't change to ownCloud root directory." . PHP_EOL;
|
echo "Can't change to Nextcloud root directory." . PHP_EOL;
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue