1 Star 0 Fork 17

夜未央/phpshe

forked from koyshe/phpshe 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.php 911 Bytes
一键复制 编辑 原始数据 按行查看 历史
koyshe 提交于 2021-12-08 13:55 . v1.8
<?php
include('common.php');
if (!$cache_setting['web_state']) die('站点已关闭');
$cache_category = cache::get('category');
$cache_category_arr = cache::get('category_arr');
$cache_article_category = cache::get('article_category');
$cache_article_category_arr = cache::get('article_category_arr');
$cache_userlevel = cache::get('userlevel');
$cache_menu = cache::get('menu');
$cache_ad = cache::get('ad');
$cache_link = cache::get('link');
pe_lead('hook/ad.hook.php');
pe_lead('hook/category.hook.php');
pe_lead('hook/wechat.hook.php');
$user = pe_login('user');
$user_wx_openid = pe_dbhold($_GET['user_openid']);
$user_lbs = explode(',', pe_dbhold($_g_user_lbs));
$user['user_lat'] = floatval($user_lbs[0]);
$user['user_lng'] = floatval($user_lbs[1]);
if (is_file("{$pe['path']}module/{$module}/{$mod}.php")) {
include("{$pe['path']}module/{$module}/{$mod}.php");
}
else {
pe_404();
}
pe_result();
?>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/getfuner/phpshe.git
git@gitee.com:getfuner/phpshe.git
getfuner
phpshe
phpshe
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385