vars.php
来自「php 开发的内容管理系统」· PHP 代码 · 共 45 行
PHP
45 行
<?php
/**
* Article management
*
* @copyright The XOOPS project http://www.xoops.org/
* @license http://www.fsf.org/copyleft/gpl.html GNU public license
* @author Taiwen Jiang (phppp or D.J.) <php_pp@hotmail.com>
* @since 1.00
* @version $Id$
* @package module::article
*/
if(!defined("ARTICLE_INI")) define("ARTICLE_INI", 1);
/*
* The prefix for database table name prefix
* You can change to any term but be consistent with the table names in /sql/mysql.sql, and be unique , no conflict with other modules
*/
$GLOBALS["ART_DB_PREFIX"] = "news";
/* You are not supposed to modify following contents */
defined("FRAMEWORKS_ART_FUNCTIONS_INI") || require_once(XOOPS_ROOT_PATH."/Frameworks/art/functions.ini.php");
$GLOBALS["artdirname"] = mod_getDirname(__FILE__);
/*
* The prefix for module variables
* You can change to any term but be unique, no conflict with other modules
*/
$GLOBALS["ART_VAR_PREFIX"] = $GLOBALS["artdirname"];
/*
* The prefix for module language constants
* You can chnage to any term but be capital and unique, no conflict with other modules
*/
$GLOBALS["ART_VAR_PREFIXU"] = strtoupper($GLOBALS["artdirname"]);
defined('ART_FUNCTIONS_INI') || require_once(XOOPS_ROOT_PATH."/modules/".$GLOBALS["artdirname"]."/include/functions.ini.php");
// include customized variables
if( is_object($GLOBALS["xoopsModule"]) && $GLOBALS["artdirname"] == $GLOBALS["xoopsModule"]->getVar("dirname", "n") ) {
$GLOBALS["xoopsModuleConfig"] = art_load_config();
}
art_load_object();
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?