<?php
/*
+-----------------------------------------------------------------------------+
| $Id: setting.php 2010-05-24 12:37:44Z Bleakwind $
| Site setting
| Copyright (c) 2003-2010 Bleakwind (www.weaverdream.com)
| http://www.weaverdream.com/
| Release under the GNU Lesser General Public License Version 3 (LGPLv3):
|   http://www.gnu.org/licenses/lgpl.html
+-----------------------------------------------------------------------------+
*/

// Template variable
$public_var = array(
    'dir_language'                          => "language/".$LANGLIST[$CONFIG['language']]['dir'],
    'dir_template'                          => "template/".$TEMPLATE[$CONFIG['template']]['dir'],
    'dir_images'                            => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_images}",
    'dir_css'                               => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_css}",
    'dir_js'                                => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_js}",
    'dir_flash'                             => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_flash}",

    'dir_language_admin'                    => "admin/language/".$LANGLIST[$CONFIG['language_admin']]['dir'],
    'dir_template_admin'                    => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir'],
    'dir_images_admin'                      => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_images_admin}",
    'dir_css_admin'                         => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_css_admin}",
    'dir_js_admin'                          => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_js_admin}",
    'dir_flash_admin'                       => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_flash_admin}",

    'dir_upload'                            => "upload",
    'dir_channel_cover'                     => "upload/channel_cover",
    'dir_content_cover'                     => "upload/content_cover",
    'dir_content_attach'                    => "upload/content_attach",
    'dir_article_cover'                     => "upload/article_cover",
    'dir_article_attach'                    => "upload/article_attach",
    'dir_datum_cover'                       => "upload/datum_cover",
    'dir_datum_attach'                      => "upload/datum_attach",
    'dir_upload_tmp'                        => "upload/upload_tmp",
    'dir_member_avatar'                     => "upload/member_avatar",
    'dir_userfiles'                         => "upload/userfiles",

    'dir_build'                             => "build",
    'dir_build_channel_cover'               => "build/channel_cover",
    'dir_build_content_cover'               => "build/content_cover",
    'dir_build_content_attach'              => "build/content_attach",
    'dir_build_article_cover'               => "build/article_cover",
    'dir_build_article_attach'              => "build/article_attach",
    'dir_build_datum_cover'                 => "build/datum_cover",
    'dir_build_datum_attach'                => "build/datum_attach",
    'dir_build_upload_tmp'                  => "build/upload_tmp",
    'dir_build_member_avatar'               => "build/member_avatar",
    'dir_build_userfiles'                   => "build/userfiles",

    'dir_avatar_select'                     => "images/avatar",
    'config_db_prefix'                      => CONFIG_DB_PREFIX,
    "config_rootdir"                        => CONFIG_ROOTDIR,
    'chmod_mode_dir'                        => '0755',
    'chmod_mode_file'                       => '0755',

    "var_sysname"                           => "Firmkernel",
    "var_sysver"                            => "1.1",
    "var_sysurl"                            => "http://www.weaverdream.com",
);

// Setting variable
$SETTING = array(
    'dir_language'                          => "language/".$LANGLIST[$CONFIG['language']]['dir'],
    'dir_template'                          => "template/".$TEMPLATE[$CONFIG['template']]['dir'],
    'dir_images'                            => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_images}",
    'dir_css'                               => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_css}",
    'dir_js'                                => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_js}",
    'dir_flash'                             => "template/".$TEMPLATE[$CONFIG['template']]['dir']."/{\$dir_flash}",

    'dir_language_admin'                    => "admin/language/".$LANGLIST[$CONFIG['language_admin']]['dir'],
    'dir_template_admin'                    => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir'],
    'dir_images_admin'                      => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_images_admin}",
    'dir_css_admin'                         => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_css_admin}",
    'dir_js_admin'                          => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_js_admin}",
    'dir_flash_admin'                       => "admin/template/".$TEMPLATE[$CONFIG['template_admin']]['dir']."/{\$dir_flash_admin}",

    'dir_upload'                            => "upload",
    'dir_channel_cover'                     => "upload/channel_cover",
    'dir_content_cover'                     => "upload/content_cover",
    'dir_content_attach'                    => "upload/content_attach",
    'dir_article_cover'                     => "upload/article_cover",
    'dir_article_attach'                    => "upload/article_attach",
    'dir_datum_cover'                       => "upload/datum_cover",
    'dir_datum_attach'                      => "upload/datum_attach",
    'dir_upload_tmp'                        => "upload/upload_tmp",
    'dir_member_avatar'                     => "upload/member_avatar",
    'dir_userfiles'                         => "upload/userfiles",

    'dir_build'                             => "build",
    'dir_build_channel_cover'               => "build/channel_cover",
    'dir_build_content_cover'               => "build/content_cover",
    'dir_build_content_attach'              => "build/content_attach",
    'dir_build_article_cover'               => "build/article_cover",
    'dir_build_article_attach'              => "build/article_attach",
    'dir_build_datum_cover'                 => "build/datum_cover",
    'dir_build_datum_attach'                => "build/datum_attach",
    'dir_build_upload_tmp'                  => "build/upload_tmp",
    'dir_build_member_avatar'               => "build/member_avatar",
    'dir_build_userfiles'                   => "build/userfiles",

    'dir_avatar_select'                     => "images/avatar",
    'config_db_prefix'                      => CONFIG_DB_PREFIX,
    "config_rootdir"                        => CONFIG_ROOTDIR,
    'chmod_mode_dir'                        => '0755',
    'chmod_mode_file'                       => '0755',

    "var_sysname"                           => "Firmkernel",
    "var_sysver"                            => "1.1",
    "var_sysurl"                            => "http://www.weaverdream.com",
);

$VERIFYCODE = array(
    'vc_login',
    'vc_register',
    'vc_forgetpass',
);

// Verify variable
$SYSCHECK = array(
    'list_privilege_member'    => array(
                                'if_forbidvisit'            => $LANGUAGE['s']['_public']['list_privilege_member']['if_forbidvisit'],
                           ),

    'list_fileallow_member'    => array(
                                'index'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['index'],

                                'register'                  => $LANGUAGE['s']['_public']['list_fileallow_member']['register'],
                                'login'                     => $LANGUAGE['s']['_public']['list_fileallow_member']['login'],
                                'forgetpass'                => $LANGUAGE['s']['_public']['list_fileallow_member']['forgetpass'],
    
                                'channel'                   => $LANGUAGE['s']['_public']['list_fileallow_member']['channel'],
                                'content'                   => $LANGUAGE['s']['_public']['list_fileallow_member']['content'],
                                'search'                    => $LANGUAGE['s']['_public']['list_fileallow_member']['search'],
                                'attach'                    => $LANGUAGE['s']['_public']['list_fileallow_member']['attach'],

                                'cp'                        => $LANGUAGE['s']['_public']['list_fileallow_member']['cp'],
                                'cp_password'               => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_password'],
                                'cp_profile'                => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_profile'],
                                'cp_prompt'                 => $LANGUAGE['s']['_public']['list_fileallow_member']['cp_prompt'],

                                'prompt'                    => $LANGUAGE['s']['_public']['list_fileallow_member']['prompt'],
                           ),

    'list_login_member'        => array(
                                'cp',
                                'cp_password',
                                'cp_profile',
                                'cp_prompt',
                           ),

    'list_except_member'       => array(
                                'curve',
                                'verifycode',
                           ),
);
?>
