summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-02-16 16:46:03 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-02-16 16:46:03 +0000
commitaf9cb431f6d097c5c408e8a43a61929afd77dfdb (patch)
tree2cb56d7663a8210b5b4a45c62cf8f85f9de60701 /index.php
parentaa7659eb2f8970c385e78f4f438fbbb614452978 (diff)
downloadwebtrees-af9cb431f6d097c5c408e8a43a61929afd77dfdb.tar.gz
webtrees-af9cb431f6d097c5c408e8a43a61929afd77dfdb.tar.bz2
webtrees-af9cb431f6d097c5c408e8a43a61929afd77dfdb.zip
Fix error - themes not available during setup
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/index.php b/index.php
index 3d961f118b..52517ca19c 100644
--- a/index.php
+++ b/index.php
@@ -109,7 +109,6 @@ try {
// Update the database schema, if necessary.
Database::updateSchema('\Fisharebest\Webtrees\Schema', 'WT_SCHEMA_VERSION', Webtrees::SCHEMA_VERSION);
} catch (PDOException $exception) {
- define('WT_DATA_DIR', 'data/');
I18N::init();
if ($exception->getCode() === 1045) {
// Error during connection?
@@ -124,7 +123,6 @@ try {
return;
} catch (Throwable $exception) {
- define('WT_DATA_DIR', 'data/');
I18N::init();
$content = view('errors/database-connection', ['error' => $exception->getMessage()]);
$html = view('layouts/error', ['content' => $content]);