<?php
/*
Officity - Web application platform - Version 6.0 - 2011-07-05

François Dispaux, Boris Verdeyen, Thomas Hermant,
Jérémie Roy, Grégory Meurice, Abdelila Harbi, 
Marc Mignonsin, Jonathan Sanchez, Julien Gonzalez, Pierre Fouchez

Sushee and Officity is © Copyright 2011 Nectil SA.

`/sushee-source/sushee/file/file_config.inc.php` is part of Officity.

Sushee is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Officity and Sushee are distributed in the hope that they will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Sushee. If not, see <http://www.gnu.org/licenses/>.
*/
//require_once(dirname(__FILE__)."/../file/zip/pclzip.lib.php");
// Determination de la requete de listing
/*if (!isset($GLOBALS["directoryRoot"])){
	global $directoryRoot;
	$directoryRoot=realpath($GLOBALS["nectil_dir"].'/Files');
}*/

//$directoryRoot='/Library/WebServer/Documents/Files';

// add any file names to this array which should remain invisible
//invisible files are indestructible and unmovable...
global $HiddenFiles;
$HiddenFiles = array(".htaccess",".DS_Store"); 

//add extension that shall not be uploaded
global $BlockedExt;
$BlockedExt = array("php","php3","php4");

// add files that shall not be uploaded, copied over, renamed or deleted. 
//$BlockedFiles = array("history.txt");
// add characters to strip out of filenames
/*$snr = array("%","'","+","\\","/","#","..","!",'"',',','?','*','~');*/
global $directoryCHMOD;
$directoryCHMOD=0777;
// Limit amount of harddrive space and size of file to upload.
global $MaxFileSize;
$MaxFileSize = "20480"; // max file size in bytes
global $HDDSpace;
$HDDSpace = "24000000";/* max total size of all files in directory */

?>
