多站点的settings.php配置参数

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,
);

文章分类: 

评论

。。。

   'site_frontpage' => 'taxonomy/term/1',
   'menu_primary_links_source' => 'menu-zmic-links',

   'file_directory_path'  => 'sites/yourdomain.com/files',

。。。