/* $redisobj = StaticFunc::connectRedis('pressTagStats','slave'); $toggles = $redisobj->hgetall('gxToggle'); $redisobj->close(); $search = $toggles['search']; $publish = $toggles['publish']; //定义是否开启标签搜索 true(开启) false(关闭) define('TagSearch', $search); //定义是否允许发布信息 true(开启) false(关闭) define('PublishInfo', $publish); */ define('TagSearch', true); define('PublishInfo', false); ?> include 'header.php'; $tagDatas = empty($GLOBALS['tagDatas']) ? array() : $GLOBALS['tagDatas']; $childTags = empty($GLOBALS['childTags']) ? array() : $GLOBALS['childTags']; $currentTag= empty($GLOBALS['tag']) ? '' : $GLOBALS['tag']; $postInfo = empty($GLOBALS['postInfo']) ? '' : $GLOBALS['postInfo']; $userInfo = empty($GLOBALS['userInfo']) ? array() : $GLOBALS['userInfo']; $touxiangUrl = RemotePath.'qqtouxiang/'; $columnName = 'QQ头像'; $isLogin = !empty($_SESSION['uid']); ?>