当前位置: 首页>>代码示例>>PHP>>正文


PHP Smarty::get_config_vars方法代码示例

本文整理汇总了PHP中Smarty::get_config_vars方法的典型用法代码示例。如果您正苦于以下问题:PHP Smarty::get_config_vars方法的具体用法?PHP Smarty::get_config_vars怎么用?PHP Smarty::get_config_vars使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Smarty的用法示例。


在下文中一共展示了Smarty::get_config_vars方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: action

 public function action($gpc)
 {
     $this->_smarty->config_load('textes.de.conf', 'Image');
     $this->_img_textes = $this->_smarty->get_config_vars();
     $this->_gpc = $gpc;
     if (isset($gpc['GET']['img'])) {
         $this->_initImg($gpc['GET']['img']);
     } elseif (isset($gpc['GET']['thumb'])) {
         $this->_initThumb($gpc['GET']['thumb']);
     } else {
         $this->_initErrImg($this->_img_textes['no_param']);
     }
 }
开发者ID:BackupTheBerlios,项目名称:jclubcms,代码行数:13,代码来源:image_send.class.php

示例2: action

 /**
  * Führt die einzelnen Methoden aus, abhängig vom Parameter
  *
  * @param array $gpc $_POST- und $_GET-Arrays
  * @global string dir_smilies Used for the dir where the smilies-gif are saved
  * @global int gbook_entries_per_page
  * @return boolean
  */
 public function action($gpc)
 {
     //Daten laden
     $this->_smarty->config_load('textes.de.conf', 'Gbook');
     $this->_configvars['Gbook'] = $this->_smarty->get_config_vars();
     $this->_smarty->config_load('textes.de.conf', 'Form_Error');
     $this->_configvars['Error'] = $this->_smarty->get_config_vars();
     $this->_gpc = $gpc;
     $this->_msbox = new MessageBoxes($this->_mysql, 'gbook', array('ID' => 'gbook_ID', 'ref_ID' => 'gbook_ref_ID', 'content' => 'gbook_content', 'name' => 'gbook_name', 'time' => 'gbook_time', 'email' => 'gbook_email', 'hp' => 'gbook_hp', 'title' => 'gbook_title'));
     $this->_smilie = new Smilies(SMILIES_DIR);
     if (isset($this->_gpc['GET']['action'])) {
         switch ($this->_gpc['GET']['action']) {
             case 'new':
                 $this->_add();
                 break;
             case 'comment':
                 $this->_comment();
                 break;
             case 'view':
                 $this->_view(GBOOK_ENTRIES_PER_PAGE);
                 break;
             case '':
                 $this->_view(GBOOK_ENTRIES_PER_PAGE);
                 break;
             default:
                 throw new CMSException(array('gbook' => 'invalid_option'), EXCEPTION_MODULE_CODE);
         }
     } else {
         $this->_view(GBOOK_ENTRIES_PER_PAGE);
     }
     return true;
 }
开发者ID:BackupTheBerlios,项目名称:jclubcms,代码行数:40,代码来源:gbook.class.php

示例3: _getRoot

 /**
  * Liefert der Path der Kategorien aus von der angegebenen Kategorie bis zur Hauptseite.
  * Das zurückgelieferte Array sieht etwa folgendermassen aus:
  * array(0 => Hauptseite, 1 => Kategorie 1, 2 => Kategorie 1.1, 3 => ...)
  *
  * @param int $cat_ID KategorieID der untersten Kategorie
  * @param bool[optional] $inc_catID Gibt an, ob die Kategorie mit ID = $cat_ID auch in der Wurzel vorkommen soll
  * @param bool[optional] $inc_hs Gibt an, ob der Eintrag 'Hauptseite' auch in der Wurzel vorkommen soll
  * @return array $root_array Path der Kategorien.
  */
 private function _getRoot($cat_ID, $inc_catID = false, $inc_hs = true)
 {
     /* Wurzel auslesen */
     $tmp_arr = array();
     if ($inc_catID == false) {
         $this->_mysql->query("SELECT `ref_ID` FROM `gallery_categories` WHERE `ID` = '{$cat_ID}' LIMIT 1");
         $data = $this->_mysql->fetcharray('assoc');
         $tmp_ID = $data['ref_ID'];
     } else {
         $tmp_ID = $cat_ID;
     }
     for ($i = 0; $tmp_ID != 0; $i++) {
         $this->_mysql->query("SELECT `ID`,`ref_ID`,`name` FROM `gallery_categories` WHERE `ID` = '{$tmp_ID}' LIMIT 1");
         $tmp_arr[$i] = $this->_mysql->fetcharray('assoc');
         $tmp_ID = $tmp_arr[$i]['ref_ID'];
     }
     if ($inc_hs == true) {
         /*Hauptseite noch einfügen*/
         $this->_smarty->config_load('textes.de.conf', 'Gallery');
         $gallery_textes = $this->_smarty->get_config_vars();
         $tmp_arr[++$i] = array('ID' => '0', 'name' => $gallery_textes['mainsite']);
         return array_reverse($tmp_arr);
     } else {
         return null;
     }
 }
开发者ID:BackupTheBerlios,项目名称:jclubcms,代码行数:36,代码来源:gallery.class.php

示例4: action

 /**
  * Fuehrt die einzelnen Methoden aus, abhaengig vom parameter
  *
  * @param array $parameters POST, GET und COOKIE-Variablen
  */
 public function action($gpc)
 {
     //Daten initialisieren
     $this->_gpc['POST'] = $gpc['POST'];
     $this->_gpc['GET'] = $gpc['GET'];
     /* Daten laden */
     $section_load = array('Editor', 'Editor-Entry', 'Editor-Error', 'Menu');
     foreach ($section_load as $section) {
         $this->_smarty->config_load('textes.de.conf', $section);
         $this->_config_textes["{$section}"] = $this->_smarty->get_config_vars();
     }
     $this->_nav_id = $this->_smarty->get_template_vars('local_link');
     if (key_exists('ref_ID', $this->_gpc['GET']) && is_numeric($this->_gpc['GET']['ref_ID'])) {
         $id = (int) $this->_gpc['GET']['ref_ID'];
     }
     //Je nach Get-Parameter die zugehörige Anweisung ausfuehren
     if (key_exists('action', $this->_gpc['GET'])) {
         switch ($this->_gpc['GET']['action']) {
             case 'new':
                 $this->_create();
                 break;
             case 'edit':
                 $this->_edit($id);
                 break;
             case 'del':
                 $this->_del($id);
                 break;
             default:
                 $this->_view();
         }
         return true;
     } else {
         $this->_view();
         return true;
     }
 }
开发者ID:BackupTheBerlios,项目名称:jclubcms,代码行数:41,代码来源:menuadmin.class.php

示例5: action

 /**
  * Start des Moduls
  *
  * @param array $gpc
  */
 public function action($gpc)
 {
     $this->_gpc = $gpc;
     //Daten laden
     $this->_smarty->config_load('textes.de.conf', 'Mail');
     $this->_config_textes['Mail'] = $this->_smarty->get_config_vars();
     $this->_smarty->config_load('textes.de.conf', 'Form_Error');
     $this->_config_textes['Error'] = $this->_smarty->get_config_vars();
     if (key_exists('hash', $gpc['GET']) && is_string($gpc['GET']['hash'])) {
         $this->_truemail_send($gpc['GET']['hash']);
     } elseif (key_exists('nav_id', $gpc['GET']) && is_numeric($gpc['GET']['nav_id'])) {
         $this->_checkmail_send($gpc['GET']['nav_id']);
     } else {
         throw new CMSException(array('mail' => 'invalid_param'), EXCEPTION_MODULE_CODE);
     }
 }
开发者ID:BackupTheBerlios,项目名称:jclubcms,代码行数:21,代码来源:mailadminmodule.class.php

示例6: action

 /**
  * Fuehrt die einzelnen Methoden aus, abhaengig vom parameter
  *
  * @param array $parameters POST, GET und COOKIE-Variablen
  */
 public function action($gpc)
 {
     //Daten laden
     $this->_smarty->config_load('textes.de.conf', 'News');
     $this->_config_textes['News'] = $this->_smarty->get_config_vars();
     $this->_smarty->config_load('textes.de.conf', 'Form_Error');
     $this->_config_textes['Error'] = $this->_smarty->get_config_vars();
     $this->_gpc = $gpc;
     $this->_nav_id = $this->_smarty->get_template_vars('local_link');
     $this->_msbox = new Messageboxes($this->_mysql, 'news', array('ID' => 'news_ID', 'ref_ID' => 'news_ref_ID', 'content' => 'news_content', 'name' => 'news_name', 'time' => 'news_time', 'email' => 'news_email', 'hp' => 'news_hp', 'title' => 'news_title'));
     $this->_smilie = new Smilies(SMILIES_DIR);
     if ($this->_getStatus() == 'off') {
         $this->_smarty->assign('info', $this->_config_textes['News']['modul_deactivated']);
     }
     //Je nach Get-Parameter die zugehörige Anweisung ausfuehren
     if (key_exists('action', $this->_gpc['GET'])) {
         switch ($this->_gpc['GET']['action']) {
             case 'new':
                 $this->_add();
                 return true;
             case 'comment':
                 $this->_comment();
                 return true;
             case 'edit':
                 $this->_edit();
                 return true;
             case 'del':
                 $this->_del();
                 return true;
             case 'view':
                 $this->_view(15);
                 return true;
             case '':
                 $this->_view(15);
                 return true;
             default:
                 //Falsche Angaben enden im Fehler
                 throw new CMSException(array('news' => 'invalid_url'), EXCEPTION_MODULE_CODE);
         }
     } else {
         //Keine Angabe -> Ausgabe der News
         $this->_view(15);
         return true;
     }
 }
开发者ID:BackupTheBerlios,项目名称:jclubcms,代码行数:50,代码来源:newsadmin.class.php

示例7: action

 /**
  * Führt die einzelnen Methoden aus, abhängig vom Parameter
  *
  * @param array $gpc $_POST- und $_GET-Arrays
  * @return boolean
  * @uses Smarty als Template-System
  */
 public function action($gpc)
 {
     //Daten laden
     $this->_smarty->config_load('textes.de.conf', 'Gbook');
     $this->_configvars['Gbook'] = $this->_smarty->get_config_vars();
     $this->_smarty->config_load('textes.de.conf', 'Form_Error');
     $this->_configvars['Error'] = $this->_smarty->get_config_vars();
     $this->_gpc = $gpc;
     $this->_nav_id = $this->_smarty->get_template_vars('local_link');
     $this->_msbox = new MessageBoxes($this->_mysql, 'gbook', array('ID' => 'gbook_ID', 'ref_ID' => 'gbook_ref_ID', 'content' => 'gbook_content', 'name' => 'gbook_name', 'time' => 'gbook_time', 'email' => 'gbook_email', 'hp' => 'gbook_hp', 'title' => 'gbook_title'));
     $this->_smilie = new Smilies(SMILIES_DIR);
     if ($this->_getStatus() == 'off') {
         $this->_smarty->assign('info', $this->_configvars['Gbook']['modul_deactivated']);
     }
     if (key_exists('action', $this->_gpc['GET'])) {
         switch ($this->_gpc['GET']['action']) {
             case 'new':
                 $this->_add();
                 break;
             case 'comment':
                 $this->_comment();
                 break;
             case 'edit':
                 $this->_edit();
                 break;
             case 'del':
                 $this->_del();
                 break;
             case 'view':
                 $this->_view(5);
                 break;
             case '':
                 $this->_view(5);
                 break;
             default:
                 throw new CMSException(array('gbook' => 'invalid_option'), EXCEPTION_MODULE_CODE);
         }
     } else {
         $this->_view(5);
     }
     return true;
 }
开发者ID:BackupTheBerlios,项目名称:jclubcms,代码行数:49,代码来源:gbookadmin.class.php

示例8: Smarty

<?php

include_once 'internal/Smarty.class.php';
$main_smarty = new Smarty();
include 'config.php';
include mnminclude . 'html1.php';
include mnminclude . 'link.php';
include mnminclude . 'tags.php';
include mnminclude . 'smartyvariables.php';
check_referrer();
// breadcrumbs and page title
$navwhere['text1'] = $main_smarty->get_config_vars('PLIGG_Visual_Change_Template');
$navwhere['link1'] = getmyurl('profile', '');
$main_smarty->assign('navbar_where', $navwhere);
$main_smarty->assign('posttitle', $main_smarty->get_config_vars('PLIGG_Visual_Change_Template'));
// pagename
define('pagename', 'settemplate');
$main_smarty->assign('pagename', pagename);
if (isset($_GET['template'])) {
    if (file_exists("./templates/" . $_GET['template'] . "/link_summary.tpl")) {
        $domain = !strstr($_SERVER['HTTP_HOST'], '.') ? '' : preg_replace('/^www/', '', $_SERVER['HTTP_HOST']);
        setcookie("template", $_GET['template'], time() + 60 * 60 * 24 * 30, $my_pligg_base, $domain);
        header('Location: ./index.php');
        die;
    } else {
        $main_smarty->assign('message', '<div class="alert alert-error">Warning: <strong>"' . sanitize($_GET['template'], 3) . '"</strong> does not seem to exist!</div>');
    }
}
// show the template
$main_smarty->assign('tpl_center', $the_template . '/settemplate_center');
$main_smarty->display($the_template . '/pligg.tpl');
开发者ID:hyrmedia,项目名称:pligg-cms,代码行数:31,代码来源:settemplate.php

示例9: sanitize

$search->filterToStatus = "published";
// this is for the tabs on the top that filter
if (isset($_GET['part'])) {
    $search->setmek = $db->escape($_GET['part']);
}
$search->do_setmek();
// do the search
$search->doSearch();
$linksum_count = $search->countsql;
$linksum_sql = $search->sql;
if (isset($_REQUEST['category'])) {
    $category_data = get_cached_category_data('category_safe_name', sanitize($_REQUEST['category'], 1));
    $main_smarty->assign('meta_description', $category_data->category_desc);
    $main_smarty->assign('meta_keywords', $category_data->category_keywords);
    // breadcrumbs and page title for the category we're looking at
    $main_smarty->assign('title', '' . $main_smarty->get_config_vars('PLIGG_Visual_Published_News') . ' - ' . $thecat . '');
    $navwhere['text1'] = $main_smarty->get_config_vars('PLIGG_Visual_Published_News');
    $navwhere['link1'] = getmyurl('root', '');
    $navwhere['text2'] = $thecat;
    $main_smarty->assign('navbar_where', $navwhere);
    $main_smarty->assign('pretitle', $thecat);
    $main_smarty->assign('posttitle', $main_smarty->get_config_vars('PLIGG_Visual_Published_News'));
    $main_smarty->assign('page_header', $thecat . $main_smarty->get_config_vars('PLIGG_Visual_Published_News'));
    // pagename
    define('pagename', 'published');
    $main_smarty->assign('pagename', pagename);
} else {
    // breadcrumbs and page title
    $navwhere['show'] = 'yes';
    $navwhere['text1'] = $main_smarty->get_config_vars('PLIGG_Visual_Published_News');
    $navwhere['link1'] = getmyurl('root', '');
开发者ID:bendroid,项目名称:pligg-cms,代码行数:31,代码来源:index.php

示例10: array

            $this->check_should_publish();
            $vars = array('vote' => $this);
            check_actions('link_insert_vote_post', $vars);
            return true;
        }
        return false;
    }
}
check_referrer();
$post_id = sanitize($_POST['id'], 3);
if (is_numeric($post_id) && $post_id > 0) {
    $link = new LinkTotal();
    $link->id = $post_id;
    $link->read_basic();
    if ($current_user->user_id == 0 && !anonymous_vote) {
        error($main_smarty->get_config_vars('PLIGG_Visual_Vote_NoAnon'));
    }
    $post_user = sanitize($_POST['user'], 3);
    if ($current_user->user_id != $post_user) {
        error($main_smarty->get_config_vars('PLIGG_Visual_Vote_BadUser') . $current_user->user_id . '-' . $post_user);
    }
    $md5 = md5($post_user . $link->randkey);
    if ($md5 !== sanitize($_POST['md5'], 3)) {
        error($main_smarty->get_config_vars('PLIGG_Visual_Vote_BadKey'));
    }
    $value = sanitize($_POST['value'], 3);
    if (sanitize($_POST['unvote'], 3) == 'true') {
        $link->remove_vote($current_user->user_id, $value);
    } else {
        if ($link->votes($current_user->user_id) > 0 || $link->reports($current_user->user_id) > 0 || votes_per_ip > 0 && $link->votes_from_ip() + $link->reports_from_ip() >= votes_per_ip) {
            /////
开发者ID:Grprashanthkumar,项目名称:ColfusionWeb,代码行数:31,代码来源:vote_total.php

示例11: Smarty

// The source code packaged with this file is Free Software, Copyright (C) 2005 by
// Ricardo Galli <gallir at uib dot es>.
// It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise.
// You can get copies of the licenses here:
// 		http://www.affero.org/oagpl.html
// AFFERO GENERAL PUBLIC LICENSE is also included in the file called "COPYING".
include_once 'Smarty.class.php';
$main_smarty = new Smarty();
include 'config.php';
include mnminclude . 'html1.php';
include mnminclude . 'link.php';
include mnminclude . 'tags.php';
include mnminclude . 'user.php';
include mnminclude . 'smartyvariables.php';
// breadcrumbs and page title
$navwhere['text1'] = $main_smarty->get_config_vars('PLIGG_Visual_Breadcrumb_Live');
$navwhere['link1'] = getmyurl('live', '');
$navwhere['text2'] = $main_smarty->get_config_vars('PLIGG_Visual_Breadcrumb_Unpublished');
$navwhere['link2'] = getmyurl('live_unpublished', '');
$main_smarty->assign('navbar_where', $navwhere);
$main_smarty->assign('posttitle', $main_smarty->get_config_vars('PLIGG_Visual_Breadcrumb_Queued'));
// figure out what "page" of the results we're on
$offset = (get_current_page() - 1) * $top_users_size;
// always check groups (to hide private groups)
$from = " LEFT JOIN " . table_groups . " ON " . table_links . ".link_group_id = " . table_groups . ".group_id ";
$groups = $db->get_results("SELECT * FROM " . table_group_member . " WHERE member_user_id = {$current_user->user_id} and member_status = 'active'");
if ($groups) {
    $group_ids = array();
    foreach ($groups as $group) {
        $group_ids[] = $group->member_group_id;
    }
开发者ID:Grprashanthkumar,项目名称:ColfusionWeb,代码行数:31,代码来源:live_unpublished.php

示例12: Smarty

<?php

header("content-type: application/x-javascript");
include_once '../config.php';
include_once '../Smarty.class.php';
$smarty = new Smarty();
$smarty->config_dir = '';
$smarty->compile_dir = "../templates_c";
$smarty->template_dir = "../templates";
$smarty->config_dir = "..";
$smarty->config_load("/libs/lang.conf");
$PLIGG_Visual_Vote_Cast = $smarty->get_config_vars('PLIGG_Visual_Vote_Cast');
?>
var xmlhttp
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
  try {
  xmlhttp=new ActiveXObject("Msxml2.XMLHTTP")
 } catch (e) {
  try {
	xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
  } catch (E) {
   xmlhttp=false
  }
 }
@else
 xmlhttp=false
@end @*/

if (!xmlhttp && typeof XMLHttpRequest != 'undefined')
{
开发者ID:holsinger,项目名称:openfloor,代码行数:31,代码来源:xmlhttp.php

示例13: isset

// pagename
define('pagename', 'rss');
$main_smarty->assign('pagename', pagename);
$rows = isset($_GET['rows']) && is_numeric($_GET['rows']) ? $_GET['rows'] : 20;
$status = sanitize($_GET['status'], 3) != '' ? sanitize($_GET['status'], 3) : 'published';
$time = isset($_GET['time']) && is_numeric($_GET['time']) ? $_GET['time'] : 0;
if ($time > 0) {
    // Prepare for times
    $sql = "SELECT link_id, count(*) as votes FROM " . table_votes . ", " . table_links . " WHERE  ";
    if ($time > 0) {
        $from = time() - $time;
        $sql .= "vote_date > FROM_UNIXTIME({$from}) AND ";
    }
    $sql .= "vote_link_id=link_id  AND (link_status='published' OR link_status='new') GROUP BY vote_link_id  ORDER BY votes DESC LIMIT {$rows}";
    $last_modified = time();
    $title = $main_smarty->get_config_vars('PLIGG_Visual_RSS_Recent') . ' ' . txt_time_diff($from);
    $link_date = "";
} else {
    // All the others
    $tmpsearch = new Search();
    $tmpsearch->searchTerm = isset($_GET['search']) && sanitize($_GET['search'], 3) != '' ? sanitize($_GET['search'], 3) : '';
    $search = $tmpsearch->get_search_clause();
    if ($search) {
        $status = 'all';
    }
    switch ($status) {
        case 'published':
            $order_field = 'link_date';
            $link_date = 'date';
            $title = " | " . $main_smarty->get_config_vars("PLIGG_Visual_Published_News");
            break;
开发者ID:hyrmedia,项目名称:pligg-cms,代码行数:31,代码来源:rss.php

示例14: elseif

 if (isset($_POST['group_title'])) {
     $group_title = mysql_real_escape_string(stripslashes(strip_tags(trim($_POST['group_title']))));
 }
 if (isset($_POST['group_description'])) {
     $group_description = mysql_real_escape_string(stripslashes(strip_tags(trim($_POST['group_description']))));
 }
 if (isset($_POST['group_vote_to_publish'])) {
     $group_vote_to_publish = mysql_real_escape_string(stripslashes(strip_tags(trim($_POST['group_vote_to_publish']))));
 }
 $group_name = $group_title;
 $group_safename = str_replace(' ', '-', $group_title);
 if (isset($_POST['group_privacy'])) {
     $group_privacy = $db->escape(sanitize($_POST['group_privacy'], 3));
 }
 if (!$group_title) {
     $errors = $main_smarty->get_config_vars('PLIGG_Visual_Group_Empty_Title');
 } elseif ($group_vote_to_publish <= 0) {
     $errors = $main_smarty->get_config_vars('PLIGG_Visual_Group_Empty_Votes');
 } else {
     $exists = $db->get_var("select COUNT(*) from " . table_groups . " WHERE group_name='{$group_name}' AND group_id != '{$requestID}'");
     if ($exists) {
         $errors = $main_smarty->get_config_vars('PLIGG_Visual_Group_Title_Exists');
     }
 }
 if (!$errors && $db->query("update " . table_groups . " set group_name = '" . $group_title . "', group_description = '" . $group_description . "', group_privacy = '" . $group_privacy . "', group_vote_to_publish = '" . $group_vote_to_publish . "' where group_id = '" . $requestID . "'")) {
     $errors = $main_smarty->get_config_vars('PLIGG_Visual_Group_Saved_Changes');
 }
 //page redirect
 //		$redirect = '';
 //		$redirect = getmyurl("editgroup", $requestID);
 //		header("Location: $redirect");
开发者ID:pantofla,项目名称:geez,代码行数:31,代码来源:editgroup.php

示例15: Smarty

// It's licensed under the AFFERO GENERAL PUBLIC LICENSE unless stated otherwise.
// You can get copies of the licenses here:
// 		http://www.affero.org/oagpl.html
// AFFERO GENERAL PUBLIC LICENSE is also included in the file called "COPYING".
include_once 'Smarty.class.php';
$main_smarty = new Smarty();
include 'config.php';
include mnminclude . 'html1.php';
include_once mnminclude . 'smartyvariables.php';
$type = sanitize($_REQUEST['type'], 2);
$name = sanitize($_GET["name"], 2);
switch ($type) {
    case 'username':
        if (strlen($name) < 3) {
            // if username is less than 3 characters
            echo $main_smarty->get_config_vars("PLIGG_Visual_CheckField_UserShort");
            return;
        }
        if (!preg_match('/^[a-zA-Z0-9_\\-]+$/i', $name)) {
            // if username contains invalid characters
            echo $main_smarty->get_config_vars("PLIGG_Visual_CheckField_InvalidChars");
            return;
        }
        if (user_exists($name)) {
            // if username already exists
            echo $main_smarty->get_config_vars("PLIGG_Visual_CheckField_UserExists");
            return;
        }
        echo "OK";
        break;
    case 'email':
开发者ID:pantofla,项目名称:waterfan,代码行数:31,代码来源:checkfield.php


注:本文中的Smarty::get_config_vars方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。