File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
22error_reporting (0 );
3- function getTopDomainhuo ()
4- {
5- $ host = $ _SERVER ['HTTP_HOST ' ];
6- $ matchstr = "[^\.]+\.(?:( " . $ str . ")|\w{2}|(( " . $ str . ")\.\w{2}))$ " ;
7- if (preg_match ("/ " . $ matchstr . "/ies " , $ host , $ matchs )) {
8- $ domain = $ matchs ['0 ' ];
9- } else {
10- $ domain = $ host ;
11- }
12- return $ domain ;
13- }
14- $ domain = getTopDomainhuo ();
15- $ check_host = 'http://sq.zmki.cn/update.php ' ;
16- $ client_check = $ check_host . '?a=client_check&u= ' . $ _SERVER ['HTTP_HOST ' ];
17- $ check_message = $ check_host . '?a=check_message&u= ' . $ _SERVER ['HTTP_HOST ' ];
18- $ check_info = file_get_contents ($ client_check );
19- $ message = file_get_contents ($ check_message );
20- unset($ domain );
21- if (!defined ('__TYPECHO_ROOT_DIR__ ' )) exit ;
223function themeConfig ($ form )
234{
245 if ($ check_info == '1 ' ) {
You can’t perform that action at this time.
0 commit comments