diff options
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -35,6 +35,13 @@ if (PHP_SAPI === 'cli-server') { } } +// @see https://github.com/briannesbitt/Carbon/issues/2536 +$file = '/vendor/symfony/translation/TranslatorInterface.php'; +if (file_exists(__DIR__ . $file) && !unlink(__DIR__ . $file)) { + echo 'Please delete the file ' . $file; + return; +} + $webtrees = new Webtrees(); $webtrees->bootstrap(); |
