h5牌九源碼出售搭建教程聯繫qq:②①⑥④0⑨⑦⑥⑨①javascript
工具下載:h5.hubawl.comphp
服務器最低配置:linux服務器,系統: CentOS 6.8,內存2G以上,獨享5M以上帶寬css
if(isset($_GET['css'])) { $css = explode('|', $_GET['css']); $string = ''; $size = 0; foreach($css as $file) { if(preg_match('/^\w+$/', $file)) { $file = './data/cache/style_'.$file.'.css'; $string .= @implode('', file($file)); } } ob_start('ob_gzhandler'); header('Content-Type: text/css'); header('Expires: '.gmdate('D, d M Y H:i:s', time() + 2592000).' GMT'); header('Last-Modified: '.gmdate('D, d M Y H:i:s', time()).' GMT'); echo $string; exit; } if(isset($_GET['js'])) { $js = explode('|', $_GET['js']); $string = ''; $size = 0; foreach($js as $file) { $file = substr($file, 0, strpos($file, '.')); if(preg_match('/^\w+$/', $file)) { $file = './data/cache/'.$file.'.js'; $string .= @implode('', file($file)); } } ob_start('ob_gzhandler'); header('Content-Type: text/javascript'); header('Expires: '.gmdate('D, d M Y H:i:s', time() + 2592000).' GMT'); header('Last-Modified: '.gmdate('D, d M Y H:i:s', time()).' GMT'); echo $string; exit; }java
define('APPTYPEID', 100); define('CURSCRIPT', 'misc');linux
require './source/class/class_core.php';服務器
$discuz = C::app();session
$discuz->reject_robot(); $modarray = array('seccode', 'secqaa', 'initsys', 'invite', 'faq', 'report', 'swfupload', 'stat', 'ranklist', 'buyinvitecode', 'tag', 'diyhelp', 'mobile', 'patch', 'getatuser', 'imgcropper', 'userstatus', 'signin');app
$modcachelist = array( 'ranklist' => array('forums', 'diytemplatename'), );工具
$mod = getgpc('mod'); $mod = (empty($mod) || !in_array($mod, $modarray)) ? 'error' : $mod;ui
if(in_array($mod, array('seccode', 'secqaa', 'initsys', 'faq', 'swfupload', 'mobile'))) { define('ALLOWGUEST', 1); }
$cachelist = array(); if(isset($modcachelist[$mod])) { $cachelist = $modcachelist[$mod]; }
$discuz->cachelist = $cachelist;
switch ($mod) { case 'secqaa': case 'userstatus': case 'seccode': $discuz->init_cron = false; $discuz->init_session = false; break; case 'updatecache': $discuz->init_cron = false; $discuz->init_session = false; default: break; }
$discuz->init();
define('CURMODULE', $mod); runhooks();
require DISCUZ_ROOT.'./source/module/misc/misc_'.$mod.'.php';