Change to PDODocument library
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
/** The current Feed Reader Central version */
|
||||
|
||||
use BitBadger\Documents\SQLite\Configuration;
|
||||
use BitBadger\PDODocument\Configuration;
|
||||
use FeedReaderCentral\Data;
|
||||
|
||||
const FRC_VERSION = '1.0.0-beta1';
|
||||
@@ -26,7 +26,7 @@ function display_version(): string {
|
||||
require __DIR__ . '/vendor/autoload.php';
|
||||
require 'user-config.php';
|
||||
|
||||
Configuration::useDbFileName(implode(DIRECTORY_SEPARATOR, [__DIR__, 'data', DATABASE_NAME]));
|
||||
Configuration::$pdoDSN = 'sqlite:' . implode(DIRECTORY_SEPARATOR, [__DIR__, 'data', DATABASE_NAME]);
|
||||
Data::ensureDb();
|
||||
|
||||
/** @var string The date the world wide web was created */
|
||||
|
||||
Reference in New Issue
Block a user