관리-도구
편집 파일: database.xml
<?xml version="1.0" encoding="utf-8"?> <!-- /** * appRain CMF * * LICENSE * * This source file is subject to the MIT license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://www.opensource.org/licenses/mit-license.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@apprain.com so we can send you a copy immediately. * * @copyright Copyright (c) 2010 appRain, Inc. (http://www.apprain.org) * @license http://www.opensource.org/licenses/mit-license.php MIT license * * HELP * * Official Website * http://www.apprain.org/ * * Download Link * http://www.apprain.org/download * * Documents Link * http ://www.apprain.org/documents */ --> <database> <base> <date><![CDATA[[[date]]]]></date> </base> <connections> <connection> <cname>primary</cname> <driver><![CDATA[pdo]]></driver> <port><![CDATA[3306]]></port> <type><![CDATA[mysql]]></type> <charset><![CDATA[utf8]]></charset> <prefix><![CDATA[[[dbprefix]]]]></prefix> <host><![CDATA[[[softdbhost]]]]></host> <dbname><![CDATA[[[softdb]]]]></dbname> <username><![CDATA[[[softdbuser]]]]></username> <password><![CDATA[[[softdbpass]]]]></password> <active>1</active> </connection> <connection> <cname>conn2</cname> <driver><![CDATA[]]></driver> <port><![CDATA[]]></port> <type><![CDATA[]]></type> <charset><![CDATA[]]></charset> <prefix><![CDATA[]]></prefix> <host><![CDATA[]]></host> <dbname><![CDATA[]]></dbname> <username><![CDATA[]]></username> <password><![CDATA[]]></password> <active>0</active> </connection> </connections> </database>