<?php
if (!defined("ROOT_PATH"))
{
	define("ROOT_PATH", dirname(__FILE__) . '../');
}
include 'options.inc.php';

# fileuploader
$config['fu_relative_path'] = '../../../../';
$config['fu_base_folder'] = PJ_INSTALL_FOLDER;
$config['fu_source_path'] = PJ_INSTALL_PATH . PJ_UPLOAD_PATH . 'tinymce-source/';
$config['fu_thumbs_path'] = PJ_INSTALL_PATH . PJ_UPLOAD_PATH . 'tinymce-thumbs/';
$config['fu_source_folder'] = PJ_UPLOAD_PATH . 'tinymce-source/';
$config['fu_thumbs_folder'] = PJ_UPLOAD_PATH . 'tinymce-thumbs/';
$config['fu_accept_files'] = array(
	# Image
	'image/gif', 
	'image/png', 
	'image/jpeg', 
	'image/jpg', 
	'image/pjpeg',
	# Video
	'video/*',
	# Text
	'text/plain', 
	'text/csv', 
	'text/html',
	# PDF
	'application/pdf',
	# Archive
	'application/x-gtar',
	'application/x-rar-compressed',
	'application/zip',
	'application/x-lzh',
	'application/x-lzx',
	'application/x-7z-compressed',
	'application/x-ace-compressed',
	'application/vnd.android.package-archive',
	# Microsoft Word
	'application/msword',
	'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
	'application/vnd.openxmlformats-officedocument.wordprocessingml.template',
	'application/vnd.ms-word.document.macroEnabled.12',
	'application/vnd.ms-word.template.macroEnabled.12',
	# Microsoft Excel
	'application/vnd.ms-excel',
	'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
	'application/vnd.openxmlformats-officedocument.spreadsheetml.template',
	'application/vnd.ms-excel.sheet.macroEnabled.12',
	'application/vnd.ms-excel.template.macroEnabled.12',
	'application/vnd.ms-excel.addin.macroEnabled.12',
	'application/vnd.ms-excel.sheet.binary.macroEnabled.12',
	# Microsoft PowerPoint
	'application/vnd.ms-powerpoint',
	'application/vnd.openxmlformats-officedocument.presentationml.presentation',
	'application/vnd.openxmlformats-officedocument.presentationml.template',
	'application/vnd.openxmlformats-officedocument.presentationml.slideshow',
	'application/vnd.ms-powerpoint.addin.macroEnabled.12',
	'application/vnd.ms-powerpoint.presentation.macroEnabled.12',
	'application/vnd.ms-powerpoint.template.macroEnabled.12',
	'application/vnd.ms-powerpoint.slideshow.macroEnabled.12',
	# OpenOffice 2.0
	'application/vnd.oasis.opendocument.text',
	'application/vnd.oasis.opendocument.text-template',
	'application/vnd.oasis.opendocument.text-web',
	'application/vnd.oasis.opendocument.text-master',
	'application/vnd.oasis.opendocument.graphics',
	'application/vnd.oasis.opendocument.graphics-template',
	'application/vnd.oasis.opendocument.presentation',
	'application/vnd.oasis.opendocument.presentation-template',
	'application/vnd.oasis.opendocument.spreadsheet',
	'application/vnd.oasis.opendocument.spreadsheet-template',
	'application/vnd.oasis.opendocument.chart',
	'application/vnd.oasis.opendocument.formula',
	'application/vnd.oasis.opendocument.database',
	'application/vnd.oasis.opendocument.image',
	'application/vnd.openofficeorg.extension',
	# OpenOffice 1.0
	'application/vnd.sun.xml.writer',
	'application/vnd.sun.xml.writer.template',
	'application/vnd.sun.xml.calc',
	'application/vnd.sun.xml.calc.template',
	'application/vnd.sun.xml.draw',
	'application/vnd.sun.xml.draw.template',
	'application/vnd.sun.xml.impress',
	'application/vnd.sun.xml.impress.template',
	'application/vnd.sun.xml.writer.global',
	'application/vnd.sun.xml.math',
); 
?>