<?php
	global $_OFFER_ATTACH;
	$_OFFER_ATTACH = array();
	$_OFFER_ATTACH['upload_dir']='uploadfile';				//（与 {lib/upload/upload.php} 临时上传目录$upload_path相同）
	$_OFFER_ATTACH['temp_dir']= 'download/temp';		//附件临时保存目录
	$_OFFER_ATTACH['save_dir']='download/attach';		//附件保存目录
	$_OFFER_ATTACH['theight'] =60;				//附件缩略图高度
	$_OFFER_ATTACH['twidth'] =60;				//附件缩略图宽度
	$_OFFER_ATTACH['upload_limit'] =3;		//允许上传文件数
	$_OFFER_ATTACH['size_limit']='2MB'; 	//允许上传文件大小
	$_OFFER_ATTACH['file_type'] = '*.jpg;*.jpeg;*.psd;*.png;*.gif;*.bmp;*.ppt;*.fly;*.wmv;*.zip;*.mp3;*.doc;*.txt;*.rar;*.tar;*.pdf;*.excel;*.csv;*.xls;*.swf;*.mov;*.mp4;*.avi;*.fla;*.wma;*.wav;*.sound;*.cad;*.chm;';	 	//允许上传文件类型
	$_OFFER_ATTACH['file_type_param']= str_replace(';','',str_replace('*.','|',$_OFFER_ATTACH['file_type']) );		//允许上传文件类型(|)
?>