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, ' ;');