اینطوری درسته؟
نتیجه نداد
'db'=>require(dirname(__FILE__).'/shopDatabase.php'),
'db2'=>require(dirname(__FILE__).'/blogDatabase.php'),
<?php
return array(
'connectionString' => 'mysql:host=localhost;dbname=blog',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' => 'utf8',
);
<?php
// This is the database connection configuration.
return array(
//'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db',
// uncomment the following lines to use a MySQL database
'connectionString' => 'mysql:host=localhost;dbname=shop',
'emulatePrepare' => true,
'username' => 'root',
'password' => '',
'charset' => 'utf8',
);