Merge pull request #1062 from b3none/patch-1

Fix typo in the index.php
This commit is contained in:
Diego Najar 2019-07-23 09:27:13 +02:00 committed by GitHub
commit 82501c9c9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@
if (!file_exists('bl-content/databases/site.php')) { if (!file_exists('bl-content/databases/site.php')) {
$base = dirname($_SERVER['SCRIPT_NAME']); $base = dirname($_SERVER['SCRIPT_NAME']);
$base = rtrim($base, '/'); $base = rtrim($base, '/');
$base = rtrim($base, '\\'); // Workarround for Windows Servers $base = rtrim($base, '\\'); // Workaround for Windows Servers
header('Location:'.$base.'/install.php'); header('Location:'.$base.'/install.php');
exit('<a href="./install.php">Install Bludit first.</a>'); exit('<a href="./install.php">Install Bludit first.</a>');
} }