diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2022-02-01 11:40:53 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2022-02-01 11:40:53 +0000 |
| commit | 262e961bb0362e95de028d3bf995717be1ffea26 (patch) | |
| tree | 30bd5b0063b07cd1027295780eaae3de7ae826f3 /index.php | |
| parent | 37431c193e324f67c8dc2210fd7a06fd578a102b (diff) | |
| download | webtrees-262e961bb0362e95de028d3bf995717be1ffea26.tar.gz webtrees-262e961bb0362e95de028d3bf995717be1ffea26.tar.bz2 webtrees-262e961bb0362e95de028d3bf995717be1ffea26.zip | |
Alternative fix for #4179
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(); |
