diff --git a/inc/defines.php b/inc/defines.php index 085720c..b9864f8 100644 --- a/inc/defines.php +++ b/inc/defines.php @@ -61,6 +61,9 @@ if (!defined('TINYIB_DBDRIVER')) { if (!defined('TINYIB_DBDSN')) { define('TINYIB_DBDSN', ''); } +if (!defined('TINYIB_DBPATH')) { + define('TINYIB_DBPATH', 'tinyib.db'); +} if (!isset($tinyib_hidefieldsop)) { $tinyib_hidefieldsop = array(); } diff --git a/settings.default.php b/settings.default.php index bb92366..267d471 100644 --- a/settings.default.php +++ b/settings.default.php @@ -98,9 +98,9 @@ define('TINYIB_DBUSERNAME', ''); // Username define('TINYIB_DBPASSWORD', ''); // Password define('TINYIB_DBNAME', ''); // Database -// Database configuration - SQLite3, SQLite -// The following only apply when TINYIB_DBMODE is set to sqlite3 or sqlite -define('TINYIB_DBPATH', 'tinyib.db'); // Sqlite DB path +// Database configuration - SQLite / SQLite3 +// The following only apply when TINYIB_DBMODE is set to sqlite or sqlite3 +define('TINYIB_DBPATH', 'tinyib.db'); // SQLite DB path relative to inc/ // Database configuration - PDO // The following only apply when TINYIB_DBMODE is set to pdo (see README for instructions)