多站点的settings.php配置参数

匿名 (未验证), 12 三月, 2010

Drupal7 conf settings:

$conf['theme_default'] = 'youtheme';
$conf['file_public_path'] = 'sites/your.com/files';
$conf['menu_main_links_source'] = 'your-menu';

 

D5? D6?

$conf = array(
  'site_name'      => 'My web site 1',
  'theme_default'  => 'kubrick',
  'site_frontpage' => 'node/1',
  'site_slogan'    => 'slogan... if any.',
  'site_mission'   => 'Mision... if any.',
  'site_footer'    => 'A nice footer for this specific site',
  'menu_primary_menu' => 23,
  'menu_secondary_menu' => 24,
);

评论