|
来源于:http://trac.seagullproject.org/wiki/Installation/Customising Customising the Installer概述如果你已经使用Seagull开发网站,创建了自己的模块和样品数据,你可能想自定义安装过程来满足你客户的需求。 你可以重命名文件 seagull/etc/customInstallDefaults.ini.dist为seagull/etc/customInstallDefaults.ini并修改其中的设置。 自定义站点配置对于Seagull 0.6.2 你可以通过全局配置文件自定义站点配置,而不仅仅是安装时带的参数。直接把需要的配置信息添加到ini文件seagull/etc/customInstallDefaults.ini, 如 [group] key = value 高级实例下列的例子中使用了很多定制技巧: ; Add your customised settings below, and rename this file to customInstallDefaults.ini. ; Then when you run the Seagull installer, these values will be used. adminFirstName = Demian adminLastName = Turner siteName = Foo adminEmail = demian@phpkitchen.com siteKeywords = siteDesc = siteCookie = FOOSESSID prefix = name = foo ; this is database name aModuleList = block,cms,export,default,media,user [site] defaultTheme = babyfy showLogo = logo.gif inputUrlHandlers = Classic,Sef [path] moduleDirOverride = modulesFOO pathToCustomConfigFile = ../modulesFOO/constants.php uploadDirOverride = /www/themes/foo/images/uploads |