帳號登錄
帳號:
密碼:
記住我 | 忘記密碼 | 帳號註冊
網站導覽
模組開發 : xoopsConfig
作者 elie 於 2010年08月10日 21:30:00 (5592 次閱讀)
模組開發

原始出處http://www.xoops.org/modules/mediawiki/index.php/Dev:$xoopsConfig

xoopsConfig 是一個陣列變數。
Array
(
$xoopsOption['sitename'] => the name of the Site
$xoopsConfig['slogan'] =>
$xoopsConfig['adminmail'] =>
$xoopsConfig['language'] => language
$xoopsConfig['startpage'] => start modulename
$xoopsConfig['server_TZ'] => 1
$xoopsConfig['default_TZ'] => 1
$xoopsConfig['theme_set'] =>
$xoopsConfig['theme_fromfile'] => 1
$xoopsConfig['theme_set_allowed'] => Array
    (
        $xoopsConfig['0'] => Themename 1
    )
$xoopsConfig['template_set'] => default
$xoopsConfig['anonymous'] => Anonym
$xoopsConfig['gzip_compression'] => 0
$xoopsConfig['usercookie'] => xoops_user
$xoopsConfig['use_mysession'] => 0
$xoopsConfig['session_name'] => xoops_session
$xoopsConfig['session_expire'] => 60
$xoopsConfig['debug_mode'] => 1
$xoopsConfig['banners'] => 1
$xoopsConfig['closesite'] => 0
$xoopsConfig['closesite_okgrp'] => Array
    (
        $xoopsConfig['0'] => 1
    )
$xoopsConfig['closesite_text'] =>
$xoopsConfig['my_ip'] => 127.0.0.1
$xoopsConfig['use_ssl'] => 0
$xoopsConfig['sslpost_name'] => xoops_ssl
$xoopsConfig['sslloginlink'] => https://
$xoopsConfig['com_mode'] => nest
$xoopsConfig['com_order'] => 0
$xoopsConfig['enable_badips'] => 0
$xoopsConfig['bad_ips'] => Array
    (
        $xoopsConfig['0'] => 127.0.0.1
    )
$xoopsConfig['module_cache'] => Array
    (
        $xoopsConfig['2'] => 0
        ...
        ...
    )
$xoopsConfig['xoops_url'] =>
$xoopsConfig['root_path'] =>
)
$xoopsOption['sitename'] => Name of The WebSite
$xoopsConfig['slogan'] => Slogan of The WebSite
$xoopsConfig['adminmail'] => WebSite Email
$xoopsConfig['language'] => WebSite Language
$xoopsConfig['startpage'] => Start Module Name
$xoopsConfig['server_TZ'] => Server Timezone (based on number offset)
$xoopsConfig['default_TZ'] => Default Timezone (based on number offset)
$xoopsConfig['theme_set'] => Default Theme Name
$xoopsConfig['theme_fromfile'] => To Update Theme From File (1 or 0)
$xoopsConfig['theme_set_allowed'] => Array() of Selectable themes
$xoopsConfig['template_set'] => Default template set
$xoopsConfig['anonymous'] => Username for anonymous users
$xoopsConfig['gzip_compression'] => 0
$xoopsConfig['usercookie'] => xoops_user
$xoopsConfig['use_mysession'] => 0
$xoopsConfig['session_name'] => xoops_session
$xoopsConfig['session_expire'] => 60
$xoopsConfig['debug_mode'] => Integer Setting For Debug Mode (0-3)
1 Enable debug (inline mode)
2 Enable debug (popup mode)
3 Smarty Templates Debug
0 Off
$xoopsConfig['banners'] => 1
$xoopsConfig['closesite'] => 0
$xoopsConfig['closesite_okgrp'] => Array() Of Groups that are allowed to access while the site is turned off
$xoopsConfig['closesite_text'] => Text that is presented when the site is closed
$xoopsConfig['my_ip'] => 127.0.0.1
$xoopsConfig['use_ssl'] => 0
$xoopsConfig['sslpost_name'] => xoops_ssl
$xoopsConfig['sslloginlink'] => https://
$xoopsConfig['com_mode'] => Default Comment Display Mode (nest,flat, or thread)
nest Nested
flat Flat
thread Threaded
$xoopsConfig['com_order'] => Default Comments Display Order (0 or 1)
0 Oldest First
1 Newest First
$xoopsConfig['enable_badips'] => 0
$xoopsConfig['bad_ips'] => Array
$xoopsConfig['module_cache'] => Array
$xoopsConfig['xoops_url'] => XOOPS_URL (.Deprecated )
$xoopsConfig['root_path'] => XOOPS_ROOT_PATH (.Deprecated )
 


可列印模式 轉寄給朋友

The XOOPS organisation ("XOOPS") is committed to protecting the privacy of users of the XOOPS.org sites.
The website used Ver.2.4.5 POWERED BY XOOPS PROJECT.