www.gusucode.com > 高端企业门户+论坛网站源码程序 > 整站安装/整站源码/source/plugin/xf_storage/ftn_upload.inc.php

    <?php
/**
 *      [Discuz!] (C)2001-2099 Comsenz Inc.
 *      This is NOT a freeware, use is subject to license terms
 *
 *      $Id: ftn_upload.inc.php 29265 2012-03-31 06:03:26Z yexinhao $
 */
if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}
$storageService = Cloud::loadClass('Service_Storage');

$formhash = formhash();
if($_GET['formhash'] == $formhash && $_GET['inajax']){
	$ftnFormhash = $storageService->ftnFormhash();
	$iframeurl = $storageService->makeIframeUrl($ftnFormhash);
} else {
	$iframeurl = '';
}

include template('xf_storage:upload');