forked from GithubBackups/tinyib
Tweak SQLite database path changes
This commit is contained in:
parent
ee9689fcff
commit
98c9a2927f
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user