Tweak SQLite database path changes

This commit is contained in:
Trevor Slocum 2020-08-18 18:16:50 -07:00
parent ee9689fcff
commit 98c9a2927f
2 changed files with 6 additions and 3 deletions

View File

@ -61,6 +61,9 @@ if (!defined('TINYIB_DBDRIVER')) {
if (!defined('TINYIB_DBDSN')) { if (!defined('TINYIB_DBDSN')) {
define('TINYIB_DBDSN', ''); define('TINYIB_DBDSN', '');
} }
if (!defined('TINYIB_DBPATH')) {
define('TINYIB_DBPATH', 'tinyib.db');
}
if (!isset($tinyib_hidefieldsop)) { if (!isset($tinyib_hidefieldsop)) {
$tinyib_hidefieldsop = array(); $tinyib_hidefieldsop = array();
} }

View File

@ -98,9 +98,9 @@ define('TINYIB_DBUSERNAME', ''); // Username
define('TINYIB_DBPASSWORD', ''); // Password define('TINYIB_DBPASSWORD', ''); // Password
define('TINYIB_DBNAME', ''); // Database define('TINYIB_DBNAME', ''); // Database
// Database configuration - SQLite3, SQLite // Database configuration - SQLite / SQLite3
// The following only apply when TINYIB_DBMODE is set to sqlite3 or sqlite // The following only apply when TINYIB_DBMODE is set to sqlite or sqlite3
define('TINYIB_DBPATH', 'tinyib.db'); // Sqlite DB path define('TINYIB_DBPATH', 'tinyib.db'); // SQLite DB path relative to inc/
// Database configuration - PDO // Database configuration - PDO
// The following only apply when TINYIB_DBMODE is set to pdo (see README for instructions) // The following only apply when TINYIB_DBMODE is set to pdo (see README for instructions)