Changeset 12802 for trunk/include/dblayer
- Timestamp:
- Dec 29, 2011, 6:48:16 AM (13 years ago)
- Location:
- trunk/include/dblayer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dblayer/functions_pdo-sqlite.inc.php
r11991 r12802 38 38 global $conf; 39 39 40 $db_file = sprintf('sqlite:%s/%s.db', $conf['local_data_dir'], $database);40 $db_file = sprintf('sqlite:%s/%s.db', PHPWG_ROOT_PATH.$conf['data_location'], $database); 41 41 42 42 $link = new PDO($db_file); -
trunk/include/dblayer/functions_sqlite.inc.php
r11991 r12802 38 38 global $conf; 39 39 40 $db_file = sprintf('%s/%s.db', $conf['local_data_dir'], $database);40 $db_file = sprintf('%s/%s.db', PHPWG_ROOT_PATH.$conf['data_location'], $database); 41 41 42 42 if (script_basename()=='install')
Note: See TracChangeset
for help on using the changeset viewer.