eZ Publish 的 Site.INI文件的中文翻译
Site.INI文件的中文翻译 #?ini charset="iso-8859-1"?# eZ publish 配置文件# 注意:并不建议直接修改这个文件,最好是写一个这个文件的覆盖文件。# 文件名字可以是settings/override/site.ini.append或者# settings/override/site.ini.append.php。# 数据库设置部分[DatabaseSettings]DatabasePluginPath=# 使用ezmysql或者ezpostgresqlDatabaseImplementation=ezmysqlServer=localhostUser=rootPassword=Database=nextgen# 允许slave servers# slave servers模式将只能使用读取查询 # 对于在负载均衡环境很有用UseSlaveServer=disabled#SlaveServerArray[]=localhost#SlaverServerUser[]=nextgen#SlaverServerPassword[]=nextgen#SlaverServerDatabase[]=nextgen# 在第一次失败以后需要重新连接的次数ConnectRetries=0Charset=iso-8859-1# 在可能的情况下在数据库使用字符集转换过程UseBuiltinEncoding=trueSocket=disabledSQLOutput=disabledUsePersistentConnection=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 siteaccessesActiveAccessExtensions[]# 信息收集设置[InformationCollectionSettings]# 收集的信息要发送到哪个Email。[email protected]# Session 设置[Session]# Session要延续的秒数,标准是3天。SessionTimeout=259200# 调试模式设置[DebugSettings]# 选择是否调试模式,如果disabled将没有调试信息显示# 如果enabled它将根据DebugIP和DebugIPList的设置进行设置。# 选择:enabled or disabledDebugOutput=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 disabledDebugByIP=disabled# A array with IP addresses which will get debug informationDebugIPList[]# 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 offDebugRedirection=disabled# URL转换设置[URLTranslator]# 使用enabled或者disabledTranslation=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=GroupBasedAccess=Shared# 站点设置[SiteSettings]# 站点的名字,将在缺省模板中用作标题SiteName=eZ publish# 站点的URL,用于在email中链接站点等SiteURL=example.com# 在pagelayout中用于metadata中的列表的值MetaDataArray[author]=eZ systemsMetaDataArray[copyright]=eZ systemsMetaDataArray[description]=Content Management SystemMetaDataArray[keywords]=cms, publish, e-commerce, content managementDir=# 在根目录中后边直接附加/时候,要显示的页面IndexPage=/content/view/full/2/# 在一个module不存在的时候的做法,使用缺省的页面或者displayerrorErrorHandler=displayerror# 在错误发生和错误句柄设置到缺省页面时候要显示的DefaultPage=/content/view/full/2/# 在不指明任何URI的时候,需要一个缺省的匹配网站存取DefaultAccess=user# 登录页面如何船体,使用embedded替换缺省的pagelayout或者使用自定义的loginpagelayout.tplLoginPage=custom# SSL端口,缺省的值会适合大多数站点,但可以根据需要修改。# 如果这个端口检测到则所有重定向将使用https协议SSLPort=443# 设置eZ publish的搜索引擎[SearchSettings]SearchEngine=eZSearchEngine#SearchEngine=openFts# 用户设置[UserSettings]# 如果设置为true,则在口令空的时候会自动产生一个口令并Email给用户GeneratePasswordIfEmpty=trueGeneratePasswordLength=6# 匿名用户的ID,这个用户将在用户浏览没有登录时候使用。AnonymousUserID=10# 保存新的自己注册用户的地方DefaultUserPlacement=12# 保存新的自我注册用户的部分ID(section ID)DefaultSectionID=1# 在新建立用户使用哪种回复返回新建立的用户到网站。使用都好分隔# 回复的类型,当前仅仅是使用Email方式。RegistrationFeedback=# 如果各自注册用户需要使用Email确认的时候,选择enabledVerifyUserEmail=enabled# 新注册用户需要发送Email的位置[email protected]# 用于用户建立的内容类别ID号码UserClassID=4# 那个用户组有用户类别,控制那个类别用来显示用户,如果是空则所有类别都可以用。UserClassGroupID=2# 那个用户被认为是建立人UserCreatorID=14SiteName=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# 检验的方式,列表显示可以用来注册的的区域,这里是登录和EmailAuthenticateMatch=login;email# 在登录退出以后使用的重定向URLLogoutRedirect=/user/login#站点控制设置[SiteAccessSettings]# 如果你想系统的SETUP设置激活,设置为trueCheckValidity=true# 如果你不想匿名访问你的站点,设置为trueRequireUserLogin=true#StaticMatch=sdk# 当前激活的站点存取列表AvailableSiteAccessList[]=userAvailableSiteAccessList[]=adminAvailableSiteAccessList[]=demo# 站点存取是否需要调试DebugAccess=disabled# 存取匹配的扩展信息是否需要调试DebugExtraAccess=disabled# 在不需要用户登录的时候的module或者module/views的列表AnonymousAccessList[]# 站点匹配方式的列表,可选则的是:host, index, uri 和 portMatchOrder=uri;host;port# 可能的值:disabled, element 或者 regexp# disabled - 关闭uri匹配# element - 映射url元素到站点存取名字# regexp - 根据regexp检验URIMatchType=elementURIMatchElement=1URIMatchRegexp=^/([^/]+)/URIMatchRegexpItem=1# 使用disabled, map, element, text 或者 regexpHostMatchType=mapHostMatchElement=0HostMatchRegexp=^(.+)\.example\.com$HostMatchRegexpItem=1HostMatchSubtextPre=HostMatchSubtextPost=.example.com# 在使用HostMatchType=map的时候,添加列表# 每个列表都包含hostname;accessname#HostMatchMapItems[]=example.com;user#HostMatchMapItems[]=admin.example.com;admin# Use either disabled, element, text or regexpIndexMatchType=regexpIndexMatchElement=1IndexMatchRegexp=^/index_(.+)\.php$IndexMatchRegexpItem=1IndexMatchSubtextPre=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 siteaccessSiteAccessList[]=userSiteAccessList[]=adminSiteAccessList[]=demo[PortAccessSettings]# Add entries here if you have port in MatchOrder# Each entry consists of the port=accessname1337=user1338=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 viewnamePolicyOmitList[]=user/loginPolicyOmitList[]=user/logoutPolicyOmitList[]=user/forgotpasswordPolicyOmitList[]=user/registerPolicyOmitList[]=user/activatePolicyOmitList[]=user/successPolicyOmitList[]=layoutPolicyOmitList[]=manualPolicyOmitList[]=ezinfo[DesignSettings]# The standard design, is used as fallback design# if the element is not in the sitedesignStandardDesign=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 setupsPageLayout=setup_pagelayout.tpl# List of tests to be run, critical tests must pass for the setup to continueCriticalTests=directory_permissions;phpversion;database_extensions;image_conversion;open_basedir;safe_modeOptionalTests=php_magicquotes;zlib_extension;mbstring_extension;imagegd_extension;imagemagick_program;database_all_extensions;file_upload;php_register_globalsOverrideSiteDesign=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 usedContentXMLCharset=enabled# Use either disabled to disable all text translation (faster) or enabled.# Text translation is automatically disabled when the Locale is set to eng-GBTextTranslation=enabledTranslationCache=enabled# Use either enabled to see which locale files are loaded or disabled to supress debugDebug=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/cacheCacheDir=cache# The name of the log dir, it's a subdir of VarDirLogDir=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=100SmallSizeHeight=100# 中尺寸的图像设置:MediumSizeWidth=150MediumSizeHeight=150# 大尺寸的图像设置:LargeSizeWidth=600LargeSizeHeight=600# 参考尺寸的图像设置:ReferenceSizeWidth=600ReferenceSizeHeight=600ScaleLargerThenOriginal=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 debugDebug=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 treeCompileIncludeNodeTree[]#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 settingsSurplusNode=3# Where to place view cache files, it's a subdir of the global cache dir.CacheDir=content# Whether to use view caching or notViewCaching=enabled# A list of viewmodes which will be cachedCachedViewModes=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 * sitedesignCacheThreshold=120[MailSettings]# The type of transport for emails, can be either sendmail or SMTP# Window users should probably use SMTPTransport=sendmail# Configuration for SMTPTransportServer=TransportPort=25TransportUser=TransportPassword=[email protected]# The address which will be set at the sender of the e-mail as default[email protected]# Which charset are allowed to send directly, those that do not match# is converted to OutputCharset before being sent.AllowedCharsets[]AllowedCharsets[]=us-asciiAllowedCharsets[]=utf-8AllowedCharsets[]=iso-8859-1AllowedCharsets[]=iso-8859-15# Which charset to convert emails to if they are not in correct formatOutputCharset=utf-8# Setting for shipping cost for the simple shipping workflow[SimpleShippingWorkflow]ShippingCost=12