iandphp的个人空间 https://blog1.eetop.cn/?1708816 [收藏] [复制] [分享] [RSS] 这是我的空间

日志

php代码

已有 7 次阅读| 2025-5-23 11:20 |系统分类:芯片设计

define('IN_API', true);
define('CURSCRIPT', 'api');

$modarray = array('js' => 'javascript/javascript', 'ad' => 'javascript/advertisement');

$mod = !empty($_GET['mod']) ? $_GET['mod'] : '';
if(empty($mod) || !in_array($mod, array('js', 'ad'))) {
    exit('Access Denied');
}

require_once './api/'.$modarray[$mod].'.php';

function loadcore() {
    global $_G;
    require_once './source/class/class_core.php';

    $discuz = C::app();
    $discuz->init_cron = false;
    $discuz->init_session = false;
    $discuz->init();
}



点赞

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册

  • 0

    周排名
  • 0

    月排名
  • 0

    总排名
  • 54

    关注
  • 7

    粉丝
  • 49

    好友
  • 19

    获赞
  • 27

    评论
  • 6380

    访问数

手机版| 小黑屋| 关于我们| 联系我们| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2025-5-24 04:24 , Processed in 0.050771 second(s), 6 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
返回顶部