Changeset 1718
- Timestamp:
- Jan 24, 2007, 11:32:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/ogawa/prj_fix_core_libs/webapp/lib/db/common.php
r136 r1718 16 16 return false; 17 17 } else { 18 returndb_get_instance();18 $_OPENPNE_DB_LIST[$name] =& db_get_instance(); 19 19 } 20 }21 if ($readonly) {22 $_OPENPNE_DB_LIST[$name] =& new OpenPNE_DB($dsn);23 20 } else { 24 $_OPENPNE_DB_LIST[$name] =& new OpenPNE_DB_Writer($dsn); 21 if ($readonly) { 22 $_OPENPNE_DB_LIST[$name] =& new OpenPNE_DB($dsn); 23 } else { 24 $_OPENPNE_DB_LIST[$name] =& new OpenPNE_DB_Writer($dsn); 25 } 25 26 } 26 27 }
Note: See TracChangeset
for help on using the changeset viewer.