1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| $databases['default']['default'] = array (
'database' => 'db_site2',
'username' => 'db_multi_user',
'password' => 'db_multi_password',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => array(
'default' => 'db_site2.',
'users' => 'db_site1.',
'sessions' => 'db_site1.',
'role' => 'db_site1.',
'authmap' => 'db_site1.',
'users_roles' => 'db_site1.',
),
);
// Read more about this variables in settings.php
$base_url = 'http://site2.drupalla.com';
$cookie_domain = '.drupalla.com'; |