From 1430a9014727b7df93cfef94bab03f86f877d4af Mon Sep 17 00:00:00 2001 From: Vitalii Vokhmin Date: Tue, 20 Jan 2015 20:08:53 +0200 Subject: [PATCH] schema path fixed in configure-db.php --- configure-db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure-db.php b/configure-db.php index 6025e30..8dae360 100644 --- a/configure-db.php +++ b/configure-db.php @@ -87,7 +87,7 @@ try { } catch (PDOException $e) { echo 'Database table not found, applying schema... ' . PHP_EOL; - $schema = file_get_contents('schema/ttrss_schema_' . $config['DB_TYPE'] . '.sql'); + $schema = file_get_contents('/var/www/schema/ttrss_schema_' . $config['DB_TYPE'] . '.sql'); $schema = preg_replace('/--(.*?);/', '', $schema); $schema = preg_replace('/[\r\n]/', ' ', $schema); $schema = trim($schema, ' ;');