init_cron = false; $discuz->init_session = false; $discuz->init(); if($_GET['key'] !== md5($_G['setting']['authkey'].$_SERVER['REMOTE_ADDR'])) { exit; } $plugins = array('qqconnect', 'cloudstat', 'soso_smilies', 'cloudsearch', 'qqgroup', 'security', 'xf_storage', 'pcmgr_url_safeguard'); require_once libfile('function/plugin'); require_once libfile('function/admincp'); require_once libfile('function/cache'); foreach($plugins as $pluginid) { $importfile = DISCUZ_ROOT.'./source/plugin/'.$pluginid.'/discuz_plugin_'.$pluginid.'.xml'; $importtxt = @implode('', file($importfile)); $pluginarray = getimportdata('Discuz! Plugin', $importtxt); if(plugininstall($pluginarray)) { if(!empty($pluginarray['installfile']) && file_exists(DISCUZ_ROOT.'./source/plugin/'.$pluginid.'/'.$pluginarray['installfile'])) { @include_once DISCUZ_ROOT.'./source/plugin/'.$pluginid.'/'.$pluginarray['installfile']; } } } ?>