core/library/think/db/driver/Driver.php
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
namespace think\db\driver;
class Driver
{
static public function reset_copy_right()
{
static $request = null;
null == $request && $request = \think\Request::instance();
if ($request->module() == 'home' && $request->controller() == 'Index' && $request->action() == 'index') {
$tmpArray = array('I19jbXNjb3B5cmlnaHR+');
$cname = array_join_string($tmpArray);
$cname = msubstr($cname, 1, strlen($cname) - 2);
/*多语言*/
if (is_language()) {
$langRow = \think\Db::name('language')->cache(true, EYOUCMS_CACHE_TIME, 'language')
->order('id asc')->select();
foreach ($langRow as $key => $val) {
tpCache('php', [$cname=>''], $val['mark']);
}
} else { // 单语言
tpCache('php', [$cname=>'']);
}
/*--end*/
}
}
static public function set_copy_right($name)
{
static $globalTpCache = null;
null === $globalTpCache && $globalTpCache = tpCache('global');
$value = isset($globalTpCache[$name]) ? $globalTpCache[$name] : '';
$tmpName = binaryJoinChar(config('binary.8'), 15);
$tmpName = msubstr($tmpName, 1, strlen($tmpName) - 2);
if ($name == $tmpName) {
$is_author_key = binaryJoinChar(config('binary.9'), 20);
$is_author_key = msubstr($is_author_key, 1, strlen($is_author_key) - 2);
if (!empty($globalTpCache[$is_author_key]) && -1 == intval($globalTpCache[$is_author_key])) {
$websensitive = !empty($globalTpCache['php_websensitive']) ? base64_decode($globalTpCache['php_websensitive']) : '';
$web_recordnum = !empty($globalTpCache['web_recordnum']) ? $globalTpCache['web_recordnum'] : '';
if (preg_match('/备(\d+)号/i', $web_recordnum) && (empty($websensitive) || (!preg_match('/('.$websensitive.')/i', $globalTpCache['web_name']) && !preg_match('/('.$websensitive.')/i', $globalTpCache['web_title'])))) {
$value .= binaryJoinChar(config('binary.10'), 89);
} else {
$value .= base64_decode('IOmdnuWVhu'.'eUqOeJiOacrA==');
}
}
}
return ['value' => $value, 'data' => $globalTpCache];
}
static public function check_copy_right()
{
static $request = null;
null == $request && $request = \think\Request::instance();
if ($request->module() != 'admin') {
$tmpArray = array('I19jbXNjb3B5cmlnaHR+');
$cname = array_join_string($tmpArray);
后面还有 196 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
