这个文档包括如何安装eZ publish 3到windows,Linux和freeBSD的快速安装指南。
有关这个安装文件的反馈和有关eZ publish 3的反馈发送到beta@ez.no
要得到更多的eZ publish 3文档:
http://ez.no/sdk
http://ez.no/manual
离线的文档请参看:
http://yourhost/index.php/sdk
http://yourhost/index.php/manual
或
http://yourhost/sdk
http://yourhost/manual
内容
----
1. eZ publish 3 需求
2. eZ publish 在Linux和FreeBSD上安装
2.1 数据库设置
2.1.1 MySQL
2.1.2 PostgeSQL
2.2 演示数据
2.3 配置eZ publish
2.4 虚拟主机设置
3. eZ publish 在Windows上安装
3.1 数据库设置
3.1.1 MySQL
3.2 演示数据
3.3 配置eZ publish
3.4 虚拟主机安装
1. eZ publish 3 需求
--------------------
- PHP >= 4.2.3 版本
http://www.php.net
- Apache 1.3 (apache 2.0 可/不可运行)
http://www.apache.org
- MySQL或PostgreSQL数据库
http://www.mysql.org
http://www.postgresql.org
- ImageMagick 和/或 GD编译的PHP版本用于图像转换(不需要)
http://www.imagemagick.org
这些程序的安装在他们各自的主页上都有详细的文档,因此我这里将不介绍。
2. 在Linux和FreeBSD安装eZ publish
---------------------------------
1. 解压缩文件ezpublish-xxx.tar.gz到<httproot>目录
$ tar xvfz ezpublish-xxx -C <httproot>
2. $ cd <httproot>/ezpublish-xxx/
3. $ bin/modfix.sh
2.1 数据库设置
--------------
2.1.1 MySQL
我们需要登录,建立一个新数据库,赋予用户权限并加入一个数据库。
1. $ mysql -u root -p <password>
2. 你现在应该在mysql> 提示符下
mysql> create database <name_of_database>;
3. mysql> grant all on <name_of_database>.* to <user>@localhost identified by '<password>';
(这个命令将同样建立制定的用户并附加相关的权限。)
4. 如果你不想演示数据:
$ mysql -u<user> -p<password> <name_of_database> < <httproot>/ezpublish-xxx/kernel/sql/mysql/kernel_schema.sql
$ mysql -u<user> -p<password> <name_of_database> < <httproot>/ezpublish-xxx/kernel/sql/mysql/cleandata.sql
如果你想要演示数据:
$ mysql -u<user> -p<password> <name_of_database> < <httproot>/ezpublish-xxx/kernel/sql/mysql/kernel_schema.sql
$ mysql -u<user> -p<password> <name_of_database> < <httproot>/ezpublish-xxx/kernel/sql/mysql/demodata.sql
2.1.2 PosgreSQL
我们需要登录,建立一个新数据库,赋予用户权限并加入一个数据库。
1. $ su <postgres_super_user>
2. $ createuser <user>
3. $ createdb <name_of_database>
4. 如果你不想演示数据:
4. $ psql -U<user> <name_of_database> < <httproot>/ezpublish-xxx/kernel/sql/postgresql/kernel_schema.sql
$ psql -U<user> <name_of_database> < <httproot>/ezpublish-xxx/kernel/sql/postgresql/cleandata.sql
如果你想要演示数据:
现在PostgreSQL没有演示数据。
2.2 演示数据
-------------
演示数据仅仅在MySQL数据库中有,在你处理前,请确认你已经安装了demodata.sql文件
要安装所有的演示数据,你还要打开var.tgz数据包:
1. $ cd <httproot>/ezpublish-xxx/
2. $ tar xfvz var.tgz
3. $ bin/modfix.sh
2.3 配置eZ publish
------------------
用你喜欢的编辑器打开<httproot>/ezpublish-xxx/settings/site.ini,设置正确的[DatabaseSettings]段落.
(除了直接使用这个文件,你可以建立一个文件名叫<httproot>/ezpublish-xxx/settings/override.site.ini.append
Here you can override settings in site.ini,仅仅添加你需要的部分.)你需要选择你想用的数据库参数,数据库主机名字,用户名,口令和数据库名字等。
[DatabaseSettings]
# 使用ezmysql 或者 ezpostgresql
DatabaseImplementation=ezpostgresql
# 需要连接的数据库服务器名字
Server=localhost
# 数据库用户名字
User=<user>
# 数据库用户口令
Password=<password>
# 在以前步骤中你建立的数据库名字
Database=<name_of_database>
2.4 虚拟主机设置
----------------
你可使用虚拟主机设置的方式使用eZ publish。当使用虚拟主机的时候,你不需要特别指定URL中的index.php。下边就是一个虚拟主机设置的例子。把这些放置到apache的配置文件中,然后重新启动apache即可。
<VirtualHost 10.0.0.1>
<Directory <httproot>/ezpublish-xxx/>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>
RewriteEngine On
RewriteRule !\.(gif|css|jpg|png)$ <httproot>/ezpublish-xxx/index.php
ServerAdmin root@localhost
DocumentRoot <httproot>/ezpublish-xxx/
ServerName 10.0.0.1
</VirtualHost>
3. 在Windows上安装eZ publish
----------------------------
1. 解压缩ezpublish-xxx.tar.gz到<httproot>目录
使用一个支持文件类型.tar.gz程序,比如Winzip。
2. 到目录<httproot>\ezpublish-xxx
3. 确认目录var\cache\ini存在,如果不存在建立它!
3.1 数据库设置
--------------
3.1.1 MySQL
我们需要登录,建立一个新数据库,然后赋予一个用户权限并插入数据库
1. 打开windows的控制台(根据你的windows版本,选择:开始->运行->cmd.exe 或 开始->运行->command.exe)
2. 到你的mysql目录找到mysql.exe文件(应该在bin\目录下)
2. 运行: mysql.exe -u root -p <mysql口令>
3. 你现在应该在mysql>提示符下,输入下面的语句:
mysql> create database <name_of_database>;
4. mysql> grant all on <name_of_database>.* to <user>@localhost identified by '<口令>';
(这个命令将同样建立制定的用户并附加相关的权限。)
5. 如果你不需要演示数据:
$ mysql.exe -u<user> -p<password> <name_of_database> < <httproot>\ezpublish-xxx\kernel\sql\mysql\kernel_schema.sql
$ mysql.exe -u<user> -p<password> <name_of_database> < <httproot>\ezpublish-xxx\kernel\sql\mysql\cleandata.sql
如果你需要演示数据:
$ mysql.exe -u<user> -p<password> <name_of_database> < <httproot>\ezpublish-xxx\kernel\sql\mysql\kernel_schema.sql
$ mysql.exe -u<user> -p<password> <name_of_database> < <httproot>\ezpublish-xxx\kernel\sql/mysql\demodata.sql
译者注:可选择phpmyadim工具,这是一个更方便的管理mysql的PHP工具。
3.2 演示数据
-------------
演示数据仅仅对于mysql数据库有,在你处理下面的步骤之前,你需要确认你安装的数据库是安装的demodata.sql而不是cleandata.sql文件。
要安装所有的演示数据,你还需要做最后一个步骤:
1. 到<httproot>\ezpublish-xxx目录
2. 解压缩var.tgz到<httproot>\ezpublish-xxx
3.3 Configure eZ publish
------------------------
Open <httproot>/ezpublish-xxx/settings/site.ini in notepad and set
the correct settings in the [DatabaseSettings] section.
You need to set what database implementation you use, hostname of database
server to connect to, user name, password, database name.
(Instead of using this file, you can create a file called
<httproot>/ezpublish-xxx/settings/override.site.ini.append
Here you can override settings in site.ini. Add only the parts you need.)
[DatabaseSettings]
# Use either ezmysql or ezpostgresql
DatabaseImplementation=ezpostgresql
# Name of server to connect to
Server=localhost
# DB user name
User=<user>
# DB Password
Password=<password>
# database name you have created on previous step
Database=<name_of_database>
3.4 Virtualhost setup
---------------------
You can use eZ publish with a virtualhost setup. When using
a virtualhost you don't need to specify the index.php in the URL.
Make sure these lines exists in your apache configfile and is not commented out:
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
Below is a sample configuration for virtualhost setup. Include this in
your apache config file and restart apache when you are done.
<VirtualHost <your_ip_adress>>
<Directory <httproot>/ezpublish-xxx/>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>
RewriteEngine On
RewriteRule !\.(gif|css|jpg|png|jar)$ <httproot>ezpublish-xxx/index.php
ServerAdmin root@localhost
DocumentRoot <httproot>/ezpublish-xxx/
ServerName <your_ip_adress>
</VirtualHost>
Site.INI文件的中文翻译
#?ini charset="iso-8859-1"?
# eZ publish 配置文件
# 注意:并不建议直接修改这个文件,最好是写一个这个文件的覆盖文件。
# 文件名字可以是settings/override/site.ini.append或者
# settings/override/site.ini.append.php。
# 数据库设置部分
[DatabaseSettings]
DatabasePluginPath=
# 使用ezmysql或者ezpostgresql
DatabaseImplementation=ezmysql
Server=localhost
User=root
Password=
Database=nextgen
# 允许slave servers
# slave servers模式将只能使用读取查询
# 对于在负载均衡环境很有用
UseSlaveServer=disabled
#SlaveServerArray[]=localhost
#SlaverServerUser[]=nextgen
#SlaverServerPassword[]=nextgen
#SlaverServerDatabase[]=nextgen
# 在第一次失败以后需要重新连接的次数
ConnectRetries=0
Charset=iso-8859-1
# 在可能的情况下在数据库使用字符集转换过程
UseBuiltinEncoding=true
Socket=disabled
SQLOutput=disabled
UsePersistentConnection=disabled
# 扩展设置
[ExtensionSettings]
ExtensionDirectory=extension
# A list of active extensions, add new ones to activate them
# The extension itself will then have it's settings directory read (if any)
# and any extra configurability is done automatically.
ActiveExtensions[]
# Same as ActiveExtensions but will be loaded after the siteaccess is chosen.
# This allows for activating different extensions on different siteaccesses
ActiveAccessExtensions[]
# 信息收集设置
[InformationCollectionSettings]
# 收集的信息要发送到哪个Email。
EmailReceiver=nospam@ez.no
# Session 设置
[Session]
# Session要延续的秒数,标准是3天。
SessionTimeout=259200
# 调试模式设置
[DebugSettings]
# 选择是否调试模式,如果disabled将没有调试信息显示
# 如果enabled它将根据DebugIP和DebugIPList的设置进行设置。
# 选择:enabled or disabled
DebugOutput=disabled
# Whether debug is set per IP address. If set to enabled it will user
# DebugIPList for valid ips otherwise all ips get debug.
# Use either enabled or disabled
DebugByIP=disabled
# A array with IP addresses which will get debug information
DebugIPList[]
# Examples
#DebugIPList[]=1.2.3.4
#DebugIPList[]=192.0.0.42
# Controls how debug is displayed, inline means that the debug is displayed in
# page itself while popup will create a new popup window with the debug.
# Popup window might not work in all browsers.
# Use either disabled, inline or popup
# If you use popup you must make sure that a rewrite rules exists for .html files
# or that your site is running in non-virtual host mode. Also some browsers
# have problems with this feature.
Debug=inline
# Controls if redirects should be debuggable, set to enable to get a redirect
# page with debug info.
# This is useful for development while production sites should have it off
DebugRedirection=disabled
# URL转换设置
[URLTranslator]
# 使用enabled或者disabled
Translation=disabled
#
# Enable this if you want to percieve the url as a path element
# for the node tree. By entering the path in the url and ending it
# with a .html you will get the correct node.
NodeTranslation=enabled
# 网站存取设置
[AccessSettings]
#Access=GroupBased
Access=Shared
# 站点设置
[SiteSettings]
# 站点的名字,将在缺省模板中用作标题
SiteName=eZ publish
# 站点的URL,用于在email中链接站点等
SiteURL=example.com
# 在pagelayout中用于metadata中的列表的值
MetaDataArray[author]=eZ systems
MetaDataArray[copyright]=eZ systems
MetaDataArray[description]=Content Management System
MetaDataArray[keywords]=cms, publish, e-commerce, content management
Dir=
# 在根目录中后边直接附加/时候,要显示的页面
IndexPage=/content/view/full/2/
# 在一个module不存在的时候的做法,使用缺省的页面或者displayerror
ErrorHandler=displayerror
# 在错误发生和错误句柄设置到缺省页面时候要显示的
DefaultPage=/content/view/full/2/
# 在不指明任何URI的时候,需要一个缺省的匹配网站存取
DefaultAccess=user
# 登录页面如何船体,使用embedded替换缺省的pagelayout或者使用自定义的loginpagelayout.tpl
LoginPage=custom
# SSL端口,缺省的值会适合大多数站点,但可以根据需要修改。
# 如果这个端口检测到则所有重定向将使用https协议
SSLPort=443
# 设置eZ publish的搜索引擎
[SearchSettings]
SearchEngine=eZSearchEngine
#SearchEngine=openFts
# 用户设置
[UserSettings]
# 如果设置为true,则在口令空的时候会自动产生一个口令并Email给用户
GeneratePasswordIfEmpty=true
GeneratePasswordLength=6
# 匿名用户的ID,这个用户将在用户浏览没有登录时候使用。
AnonymousUserID=10
# 保存新的自己注册用户的地方
DefaultUserPlacement=12
# 保存新的自我注册用户的部分ID(section ID)
DefaultSectionID=1
# 在新建立用户使用哪种回复返回新建立的用户到网站。使用都好分隔
# 回复的类型,当前仅仅是使用Email方式。
RegistrationFeedback=
# 如果各自注册用户需要使用Email确认的时候,选择enabled
VerifyUserEmail=enabled
# 新注册用户需要发送Email的位置
RegistrationEmail=nospam@ez.no
# 用于用户建立的内容类别ID号码
UserClassID=4
# 那个用户组有用户类别,控制那个类别用来显示用户,如果是空则所有类别都可以用。
UserClassGroupID=2
# 那个用户被认为是建立人
UserCreatorID=14
SiteName=ez.no
# 使用md5_password, md5_user, md5_site 或者 plaintext
# md5_password 从口令中产生口令hash。
# md5_user 从用户和口令产生口令hash。
# md5_site 从站点,用户和口令产生口令hash。
# plaintext 不产生hash,但这样口令没有保护,这样会有安全风险。
# recommended since it is a huge security risc.
# 注意:在修改网站名字的时候md5_site产生的口令没有办法工作。
HashType=md5_user
# true means update hash to HashType if it differs when logging in
# This is useful if you're upgrading from an older eZ publish site
# or another system that uses mysql as password type, it will then
# update the hash to whather is set.
UpdateHash=true
# 检验的方式,列表显示可以用来注册的的区域,这里是登录和Email
AuthenticateMatch=login;email
# 在登录退出以后使用的重定向URL
LogoutRedirect=/user/login
#站点控制设置
[SiteAccessSettings]
# 如果你想系统的SETUP设置激活,设置为true
CheckValidity=true
# 如果你不想匿名访问你的站点,设置为true
RequireUserLogin=true
#StaticMatch=sdk
# 当前激活的站点存取列表
AvailableSiteAccessList[]=user
AvailableSiteAccessList[]=admin
AvailableSiteAccessList[]=demo
# 站点存取是否需要调试
DebugAccess=disabled
# 存取匹配的扩展信息是否需要调试
DebugExtraAccess=disabled
# 在不需要用户登录的时候的module或者module/views的列表
AnonymousAccessList[]
# 站点匹配方式的列表,可选则的是:host, index, uri 和 port
MatchOrder=uri;host;port
# 可能的值:disabled, element 或者 regexp
# disabled - 关闭uri匹配
# element - 映射url元素到站点存取名字
# regexp - 根据regexp检验
URIMatchType=element
URIMatchElement=1
URIMatchRegexp=^/([^/]+)/
URIMatchRegexpItem=1
# 使用disabled, map, element, text 或者 regexp
HostMatchType=map
HostMatchElement=0
HostMatchRegexp=^(.+)\.example\.com$
HostMatchRegexpItem=1
HostMatchSubtextPre=
HostMatchSubtextPost=.example.com
# 在使用HostMatchType=map的时候,添加列表
# 每个列表都包含hostname;accessname
#HostMatchMapItems[]=example.com;user
#HostMatchMapItems[]=admin.example.com;admin
# Use either disabled, element, text or regexp
IndexMatchType=regexp
IndexMatchElement=1
IndexMatchRegexp=^/index_(.+)\.php$
IndexMatchRegexpItem=1
IndexMatchSubtextPre=index_
IndexMatchSubtextPost=.php
# A list of siteaccesses that are valid for this site.
# It will be used by the user/login policy to decice if a user
# can login a siteaccess
SiteAccessList[]=user
SiteAccessList[]=admin
SiteAccessList[]=demo
[PortAccessSettings]
# Add entries here if you have port in MatchOrder
# Each entry consists of the port=accessname
1337=user
1338=admin
[RoleSettings]
EnableCaching=true
# A list of modules to omit policy checking on,
# You should add 'role' to the list if you loose
# access to the role module
# You can also specify views by adding a / and the viewname
PolicyOmitList[]=user/login
PolicyOmitList[]=user/logout
PolicyOmitList[]=user/forgotpassword
PolicyOmitList[]=user/register
PolicyOmitList[]=user/activate
PolicyOmitList[]=user/success
PolicyOmitList[]=layout
PolicyOmitList[]=manual
PolicyOmitList[]=ezinfo
[DesignSettings]
# The standard design, is used as fallback design
# if the element is not in the sitedesign
StandardDesign=standard
# 站点的设计
SiteDesign=admin
# AdditionalSiteDesignArray contains an array
# of sitedesigns. These sitedesigns will be used
# if the design was not found in the main
# sitedesign. StandardDesign is the fallback design.
AdditionalSiteDesignList[]=
[SetupSettings]
# The pagelayout to use for first time setups
PageLayout=setup_pagelayout.tpl
# List of tests to be run, critical tests must pass for the setup to continue
CriticalTests=directory_permissions;phpversion;database_extensions;image_conversion;open_basedir;safe_mode
OptionalTests=php_magicquotes;zlib_extension;mbstring_extension;imagegd_extension;imagemagick_program;database_all_extensions;file_upload;php_register_globals
OverrideSiteDesign=standard
# 国家区域配置
[RegionalSettings]
# 站点主要语言
Locale=eng-GB
# 在locale错误的时候设置这里
HTTPLocale=
# The default language for content objects
# Note: Changing this can have catastrophic consequences
# since there might not be any content objects with
# the selected language. Instead the content/translations
# page should be used for adding/removing translations.
ContentObjectLocale=eng-GB
# Controls how xml is stored in content objects.
# disabled - Store with utf8
# enabled - Store with current charset
# if any other text is entered it is assumed to be a charset and will be used
ContentXMLCharset=enabled
# Use either disabled to disable all text translation (faster) or enabled.
# Text translation is automatically disabled when the Locale is set to eng-GB
TextTranslation=enabled
TranslationCache=enabled
# Use either enabled to see which locale files are loaded or disabled to supress debug
Debug=disabled
# By enabling development mode all untranslated texts will be translated
# using the bork rules.
# See lib/ezi18n/classes/ezborktranslator.php for more information.
DevelopmentMode=disabled
[UnitSettings]
# 用于二进制测量的单位
BinaryUnits=byte;bit
# True means use Ki, Mi etc. for binary measures instead of K, M etc.
# This is good if you want to follow proper naming standards.
UseSIUnits=false
[FileSettings]
# 上传文件放置的位置,必须由web server写。
TemporaryDir=/tmp/
# Permission for temporary files, setting it to 0777 means that anyone
# can read and write the files and can be considered a security risk.
# It's preferred to use 0770 and make sure the web server has correct
# user/group access.
TemporaryPermissions=0777
# 新文件要保存的地方,它是在var目录下的。
StorageDir=storage
# Permission for storage directories, setting it to 0777 means that anyone
# can read and write the directories and can be considered a security risk.
# It's preferred to use 0770 and make sure the web server has correct
# user/group access.
StorageDirPermissions=0777
# Permission for storage files, setting it to 0666 means that anyone
# can read and write the files and can be considered a security risk.
# It's preferred to use 0660 and make sure the web server has correct
# user/group access.
StorageFilePermissions=0666
# Directory depth for storing files, this means that it will create
# directories out of the first n characters to make sure not too
# many files are placed in one directory. For instance a file name
# newfile.png will be placed in n/e/w/newfile.png.
DirDepth=3
# 放置log文件,cache文件和其他保存建立文件的地方。
VarDir=var
# The name of the cache dir, it's a subdir of VarDir
# The cache dir can be set absolute, then VarDir will not be prepended
# e.g. /var/ezpublish/cache
CacheDir=cache
# The name of the log dir, it's a subdir of VarDir
LogDir=log
# 图像设置
[ImageSettings]
# Permission for new image directories, setting it to 0777 means that anyone
# can read and write the files and can be considered a security risk.
# It's preferred to use 0770 and make sure the web server has correct
# user/group access.
NewDirPermissions=0777
# Permission for new images, setting it to 0666 means that anyone
# can read and write the files and can be considered a security risk.
# It's preferred to use 0660 and make sure the web server has correct
# user/group access.
NewImagePermissions=0666
# 小尺寸的图像设置:
SmallSizeWidth=100
SmallSizeHeight=100
# 中尺寸的图像设置:
MediumSizeWidth=150
MediumSizeHeight=150
# 大尺寸的图像设置:
LargeSizeWidth=600
LargeSizeHeight=600
# 参考尺寸的图像设置:
ReferenceSizeWidth=600
ReferenceSizeHeight=600
ScaleLargerThenOriginal=false
# 原文件目录
OriginalDir=original
# 参考图像目录
ReferenceDir=reference
# 变化图像目录
VariationsDir=variations
[TemplateSettings]
# A ; (semicolon) separated list of directories to look for eztemplateautoload.php files
# These files will be used to automatically load in template functions and operators
# You can new ones if you create custom template code.
AutoloadPath=lib/eztemplate/classes/;kernel/common/
# Use either enabled to see which template files are loaded or disabled to supress debug
Debug=disabled
# Determines whether the internal node tree should be cached, by enabling this the loading
# and parsing of templates is significantly reduced.
NodeTreeCaching=enabled
# Determines whether the templates should be compiled to PHP code, by enabling this the loading
# and parsing of templates is omitted and template processing is significantly reduced.
# Note: The template compiling is currently experimental and may not render templates correctly yet.
TemplateCompile=disabled
# 注意:
# 下边的设置用于模板编译开放用处,并不适合普通站点。
#
# 是否在cache文件中包含注释
CompileComments=disabled
# 是否包含调试堆积
CompileAccumulators=disabled
# 是否包含调试时间点
CompileTimingPoints=disabled
# 在disabled模板compilation不包含节点位置的时候,位置的信息将显示行和列的信息用来指明警告和错误
CompileNodePlacements=enabled
# 在disabled模板compilation时候,文件仅仅被产生而不执行。这以为着普通的模板处理
CompileExecution=enabled
# 如果enabled,即使缓存在,模板也会被编译。
CompileAlwaysGenerate=disabled
# An array with node trees to include in the compiled template file.
# Including them will increase the size of the cache files and
# is only useful for template compilation development.
# Possible entries are:
# transformed - The tree after node transformation has been done
# static - The tree after static extraction has been done
# combined - The tree after static element combines has been done
# original - The originally parsed tree
CompileIncludeNodeTree[]
#CompileIncludeNodeTree[]=final
#CompileIncludeNodeTree[]=transformed
#CompileIncludeNodeTree[]=static
#CompileIncludeNodeTree[]=combined
#CompileIncludeNodeTree[]=original
[ContentSettings]
# A list of locale strings which content objects are allowed to be translated to.
TranslationList=eng-GB;nor-NO;nno-NO;eng-US
# Node where all new related objects are default placed
# OBSOLETE: See content.ini for more advanced settings
SurplusNode=3
# Where to place view cache files, it's a subdir of the global cache dir.
CacheDir=content
# Whether to use view caching or not
ViewCaching=enabled
# A list of viewmodes which will be cached
CachedViewModes=full;sitemap
# A list of viewmodes which displays more than just it's immediate children
# These viewmodes are too complex to cleanup file by file and needs to
# be expired globally.
ComplexDisplayViewModes=sitemap
# The threshold for file cleanup, if it is exceeded a global expiry is used instead
# The value is calculated with the number of affected nodes * viewmodes * translations * sitedesign
CacheThreshold=120
[MailSettings]
# The type of transport for emails, can be either sendmail or SMTP
# Window users should probably use SMTP
Transport=sendmail
# Configuration for SMTP
TransportServer=
TransportPort=25
TransportUser=
TransportPassword=
AdminEmail=nospam@ez.no
# The address which will be set at the sender of the e-mail as default
EmailSender=nospam@ez.no
# Which charset are allowed to send directly, those that do not match
# is converted to OutputCharset before being sent.
AllowedCharsets[]
AllowedCharsets[]=us-ascii
AllowedCharsets[]=utf-8
AllowedCharsets[]=iso-8859-1
AllowedCharsets[]=iso-8859-15
# Which charset to convert emails to if they are not in correct format
OutputCharset=utf-8
# Setting for shipping cost for the simple shipping workflow
[SimpleShippingWorkflow]
ShippingCost=12
http://www.wujianrong.com/mt-tb.cgi/3968