#!/usr/bin/env python
"""
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
* Licensed under the terms of any of the following licenses at your
* choice:
*
* - GNU General Public License Version 2 or later (the "GPL")
* http://www.gnu.org/licenses/gpl.html
*
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
* http://www.gnu.org/licenses/lgpl.html
*
* - Mozilla Public License Version 1.1 or later (the "MPL")
* http://www.mozilla.org/MPL/MPL-1.1.html
*
* == END LICENSE ==
*
* Configuration file for the File Manager Connector for Python
"""
# INSTALLATION NOTE: You must set up your server environment accordingly to run
# python scripts. This connector requires Python 2.4 or greater.
#
# Supported operation modes:
# * WSGI (recommended): You'll need apache + mod_python + modpython_gateway
# or any web server capable of the WSGI python standard
# * Plain Old CGI: Any server capable of running standard python scripts
# (although mod_python is recommended for performance)
# This was the previous connector version operation mode
#
# If you're using Apache web server, replace the htaccess.txt to to .htaccess,
# and set the proper options and paths.
# For WSGI and mod_python, you may need to download modpython_gateway from:
# http://projects.amor.org/misc/svn/modpython_gateway.py and copy it in this
# directory.
# SECURITY: You must explicitly enable this "connector". (Set it to "True").
# WARNING: don't just set "ConfigIsEnabled = True", you must be sure that only
# authenticated users can access this file or use some kind of session checking.
Enabled = False
# Path to user files relative to the document root.
UserFilesPath = '/userfiles/'
# Fill the following value it you prefer to specify the absolute path for the
# user files directory. Useful if you are using a virtual directory, symbolic
# link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
# Attention: The above 'UserFilesPath' must point to the same directory.
# WARNING: GetRootPath may not work in virtual or mod_python configurations, and
# may not be thread safe. Use this configuration parameter instead.
UserFilesAbsolutePath = ''
# Due to security issues with Apache modules, it is recommended to leave the
# following setting enabled.
ForceSingleExtension = True
# What the user can do with this connector
ConfigAllowedCommands = [ 'QuickUpload', 'FileUpload', 'GetFolders', 'GetFoldersAndFiles', 'CreateFolder' ]
# Allowed Resource Types
ConfigAllowedTypes = ['File', 'Image', 'Flash', 'Media']
# After file is uploaded, sometimes it is required to change its permissions
# so that it was possible to access it at the later time.
# If possible, it is recommended to set more restrictive permissions, like 0755.
# Set to 0 to disable this feature.
# Note: not needed on Windows-based servers.
ChmodOnUpload = 0755
# See comments above.
# Used when creating folders that does not exist.
ChmodOnFolderCreate = 0755
# Do not touch this 3 lines, see "Configuration settings for each Resource Type"
AllowedExtensions = {}; DeniedExtensions = {};
FileTypesPath = {}; FileTypesAbsolutePath = {};
QuickUploadPath = {}; QuickUploadAbsolutePath = {};
# Configuration settings for each Resource Type
#
# - AllowedExtensions: the possible extensions that can be allowed.
# If it is empty then any file type can be uploaded.
# - DeniedExtensions: The extensions that won't be allowed.
# If it is empty then no restrictions are done here.
#
# For a file to be uploaded it has to fulfill both the AllowedExtensions
# and DeniedExtensions (that's it: not being denied) conditions.
#
# - FileTypesPath: the virtual folder relative to the document root where
# these resources will be located.
# Attention: It must start and end with a slash: '/'
#
# - FileTypesAbsolutePath: the physical path to the above folder. It must be
# an absolute path.
# If it's an empty string then it will be autocalculated.
# Useful if you are using a virtual directory, symbolic link or alias.
# Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
# Attention: The above 'FileTypesPath' must point to the same directory.
# Attention: It must end with a slash: '/'
#
#
# - QuickUploadPath: the virtual folder relative to the document root where
# these resources will be uploaded using the Upload tab in the resources
# dialogs.
# Attention: It must start and end with a slash: '/'
#
# - QuickUploadAbsolutePath: the physical path to the above folder. It must be
# an absolute path.
# If it's an empty string then it will be autocalculated.
# Useful if you are using a virtual directory, symbolic link or alias.
# Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
# Attention: The above 'QuickUploadPath' must point to the same directory.
# Attention: It must end with a slash: '/'
AllowedExtensions['File'] = ['7z','aiff','asf','avi','bmp','csv','doc','fla','flv','gif','gz','gzip','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','ods','odt','pdf','png','ppt','pxd','qt','ram','rar','rm','rmi','rmvb','rtf','sdc','sitd','swf','sxc','sxw','tar','tgz','tif','tiff','txt','vsd','wav','wma','wmv','xls','xml','zip']
DeniedExtensions['File'] = []
FileTypesPath['File'] = UserFilesPath + 'file/'
FileTypesAbsolutePath['File'] = (not UserFilesAbsolutePath == '') and (UserFilesAbsolutePath + 'file/') or ''
QuickUploadPath['File'] = FileTypesPath['File']
QuickUploadAbsolutePath['File'] = FileTypesAbsolutePath['File']
AllowedExtensions['Image'] = ['bmp','gif','jpeg','jpg','png']
DeniedExtensions['Image'] = []
FileTypesPath['Image'] = UserFilesPath + 'image/'
FileTypesAbsolutePath['Image'] = (not UserFilesAbsolutePath == '') and UserFilesAbsolutePath + 'image/' or ''
QuickUploadPath['Image'] = FileTypesPath['Image']
QuickUploadAbsolutePath['Image']= FileTypesAbsolutePath['Image']
AllowedExtensions['Flash'] = ['swf','flv']
DeniedExtensions['Flash'] = []
FileTypesPath['Flash'] = UserFilesPath + 'flash/'
FileTypesAbsolutePath['Flash'] = ( not UserFilesAbsolutePath == '') and UserFilesAbsolutePath + 'flash/' or ''
QuickUploadPath['Flash'] = FileTypesPath['Flash']
QuickUploadAbsolutePath['Flash']= FileTypesAbsolutePath['Flash']
AllowedExtensions['Media'] = ['aiff','asf','avi','bmp','fla', 'flv','gif','jpeg','jpg','mid','mov','mp3','mp4','mpc','mpeg','mpg','png','qt','ram','rm','rmi','rmvb','swf','tif','tiff','wav','wma','wmv']
DeniedExtensions['Media'] = []
FileTypesPath['Media'] = UserFilesPath + 'media/'
FileTypesAbsolutePath['Media'] = ( not UserFilesAbsolutePath == '') and UserFilesAbsolutePath + 'media/' or ''
QuickUploadPath['Media'] = FileTypesPath['Media']
QuickUploadAbsolutePath['Media']= FileTypesAbsolutePath['Media']
没有合适的资源?快使用搜索试试~ 我知道了~
基于.net仿阿里巴巴电子商务系统2.0
共1861个文件
gif:972个
js:192个
jpg:134个
1星 需积分: 0 33 下载量 99 浏览量
2008-10-23
19:13:52
上传
评论
收藏 10.17MB RAR 举报
温馨提示
基于.net仿阿里巴巴电子商务系统2.0。
资源详情
资源评论
资源推荐
收起资源包目录
基于.net仿阿里巴巴电子商务系统2.0 (1861个子文件)
Global.asax 93B
Header.ascx 8KB
NewsHeader.ascx 7KB
config.ascx 5KB
WareHead.ascx 2KB
FiendUrl.ascx 1KB
RecommendExpo.ascx 1KB
WareClassFilter.ascx 1KB
NewsPersonImage.ascx 1KB
AutoImageNews.ascx 1KB
RecommendProduct.ascx 1KB
AutoJob.ascx 1KB
AutoNewImageWare.ascx 977B
AutoNews.ascx 963B
AutoLookJob.ascx 906B
WareClassControl.ascx 899B
AutoImageNews2.ascx 883B
WareClassControl2.ascx 878B
WareClassForPrice.ascx 817B
MuchBuy.ascx 799B
ClassForCompany.ascx 794B
ShowInfor.ascx 756B
AutoNewWare.ascx 646B
RecommendCompany.ascx 570B
AutoNewCompany.ascx 552B
Footer.ascx 185B
UrgentBuy.ascx 181B
HeadNews.ascx 128B
class_upload.asp 10KB
io.asp 7KB
commands.asp 6KB
config.asp 6KB
connector.asp 2KB
upload.asp 2KB
basexml.asp 2KB
util.asp 1KB
reg.aspx 51KB
Index.aspx 32KB
Index.aspx 23KB
Add_Product.aspx 20KB
Add_Processing.aspx 18KB
Add_Proxy.aspx 18KB
Add_Service.aspx 17KB
BuyDetail.aspx 17KB
MemberLeftMenu.aspx 16KB
Index.aspx 15KB
SellList.aspx 15KB
Company_Intro.aspx 14KB
Add_Cooperation.aspx 14KB
News_Manage.aspx 13KB
Company_List.aspx 12KB
SellDetail.aspx 12KB
BuyList.aspx 12KB
Member_Manage.aspx 12KB
Expo.aspx 11KB
Add_News.aspx 11KB
LookJob.aspx 11KB
Show_Manage.aspx 10KB
Manage_WarePassed.aspx 10KB
Add_Ad.aspx 10KB
News.aspx 10KB
Company_Contact.aspx 10KB
Manage_Collection.aspx 10KB
Message_MyReceived.aspx 10KB
Enquiry.aspx 10KB
Add_CompanyProof.aspx 9KB
News_View.aspx 9KB
Add_News.aspx 9KB
Quotation.aspx 9KB
Manage_News.aspx 9KB
Add_Honors.aspx 8KB
Manage_Job.aspx 8KB
Compare.aspx 8KB
Manage_MyFriend.aspx 8KB
Manage_Honors.aspx 8KB
Add_Job.aspx 8KB
Add_Show.aspx 8KB
Expo_View.aspx 8KB
Run_Setting.aspx 8KB
Message_MySend.aspx 7KB
Message_Manage.aspx 7KB
UserLogin.aspx 7KB
Template_Manage.aspx 7KB
Company.aspx 7KB
Job_Magage.aspx 7KB
Message_Reply.aspx 7KB
Job.aspx 7KB
Add_Template.aspx 7KB
LookJob_Manage.aspx 7KB
Qz_View.aspx 6KB
FriendUrl_Manage.aspx 6KB
Help_Manage.aspx 6KB
Add_AdPosition.aspx 6KB
Zp_View.aspx 6KB
Comment_Manage.aspx 6KB
Guestbook.aspx 6KB
WebForm1.aspx 5KB
Add_WareMyClass.aspx 5KB
Expo_List.aspx 5KB
Add_CompanyImages.aspx 5KB
共 1861 条
- 1
- 2
- 3
- 4
- 5
- 6
- 19
领君2018
- 粉丝: 204
- 资源: 1527
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1