野生大熊猫

discuz 插件开发常用语句
一、根目录1、index.inc.php 文件if(!defined('IN_DISCUZ')) { ex...
扫描右侧二维码阅读全文
28
2018/02

discuz 插件开发常用语句

一、根目录

1、index.inc.php 文件

if(!defined('IN_DISCUZ')) {
    exit('Access Denied');
}
global $_G;
$var = $_G['cache']['plugin']['dzl8_plugin'];
include template('dzl8_plugin:index');

2、index.class.php 文件

if(!defined('IN_DISCUZ')) {
    exit('Access Denied');
}

class plugin_PluginName {

}
Last modification:February 28th, 2018 at 11:12 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment