#!/usr/bin/env python
"""
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
* Copyright (C) 2003-2009 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']
没有合适的资源?快使用搜索试试~ 我知道了~
jsp品红宣传网站源码
共896个文件
gif:261个
js:197个
jpg:79个
3星 · 超过75%的资源 需积分: 7 21 下载量 90 浏览量
2010-07-22
04:25:51
上传
评论
收藏 4.32MB RAR 举报
温馨提示
这是一个jsp品红宣传网站源码,采用现比较流行的一些技术(jsp+MVC)
资源推荐
资源详情
资源评论
收起资源包目录
jsp品红宣传网站源码 (896个子文件)
fckeditor.afp 4KB
sample02.afp 3KB
sample04.afp 3KB
sample03.afp 3KB
sampleposteddata.afp 2KB
sample01.afp 2KB
fck.afpa 25B
config.ascx 5KB
class_upload.asp 10KB
io.asp 7KB
fckeditor.asp 6KB
commands.asp 6KB
config.asp 6KB
sample02.asp 3KB
sample04.asp 3KB
sample03.asp 3KB
connector.asp 2KB
sample01.asp 2KB
upload.asp 2KB
basexml.asp 2KB
sampleposteddata.asp 2KB
util.asp 1KB
connector.aspx 1KB
upload.aspx 1KB
package.bat 893B
run.bat 811B
image.cfc 46KB
ImageObject.cfc 12KB
fckeditor.cfc 9KB
cf5_upload.cfm 11KB
cf5_connector.cfm 10KB
cf_io.cfm 10KB
cf_commands.cfm 8KB
config.cfm 8KB
fckeditor.cfm 7KB
spellchecker.cfm 5KB
cf_util.cfm 4KB
sample02_mx.cfm 3KB
sample04_mx.cfm 3KB
sample02.cfm 3KB
sample03_mx.cfm 3KB
sample04.cfm 3KB
cf_connector.cfm 3KB
sample03.cfm 3KB
cf_basexml.cfm 3KB
fckutils.cfm 2KB
cf_upload.cfm 2KB
sample01_mx.cfm 2KB
sample01.cfm 2KB
sampleposteddata.cfm 2KB
connector.cfm 1005B
upload.cfm 993B
sample02.cgi 5KB
sample04.cgi 5KB
sample03.cgi 5KB
connector.cgi 4KB
sample01.cgi 3KB
upload.cgi 3KB
sampleposteddata.cgi 3KB
ProductDao.class 4KB
OrderDaoImpl.class 4KB
OrderDetilDaoImpl.class 3KB
MessageDao.class 3KB
NewsDao.class 3KB
UserDao.class 3KB
RevertDao.class 3KB
Product.class 2KB
Message.class 2KB
DBConnection.class 2KB
MyTool.class 2KB
Order.class 2KB
Revert.class 2KB
OrderDetil.class 1KB
AppMesg.class 1KB
News.class 1KB
User.class 1KB
ProductBiz.class 1KB
MessageBiz.class 1KB
UserBiz.class 1008B
OrderBiz.class 1001B
NewsBiz.class 1000B
OrderDetilBiz.class 787B
RevertBiz.class 766B
IProductDao.class 414B
IUserDao.class 328B
IMessageDao.class 324B
IOrderDao.class 317B
INewsDao.class 312B
IOrderDetilDao.class 242B
IRevertDao.class 231B
.classpath 567B
fck.afpa.code 5KB
fck_editor.css 8KB
fck_editor.css 8KB
fck_editor.css 8KB
fck_dialog.css 6KB
fck_dialog.css 6KB
fck_dialog.css 6KB
css.css 4KB
fck_internal.css 4KB
共 896 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
- 心碰心2014-11-23不怎么样,浪费下载积分了!!!!
- itray2014-08-31值得下载 1.有数据库 2.代码导入顺利没有报错 3.至少数据库配置是写在外部xml的
「已注销」
- 粉丝: 19
- 资源: 125
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功