The file/version I used was from "simogeo-Filemanager-efd91b2.tar.gz"
Pastie gave me a 503, trying to paste it here, directly
filemanager.config.js:
/*---------------------------------------------------------
Configuration
---------------------------------------------------------*/
// Set culture to display localized messages
var culture = 'en';
// Autoload text in GUI
var autoload = true;
// Set this to the server side language you wish to use.
var lang = 'php'; // options: lasso, php, py
var am = document.location.pathname.substring(1, document.location.pathname
.lastIndexOf('/') + 1);
// Set this to the directory you wish to manage.
//var fileRoot = '/' + am + 'userfiles/';
//var fileRoot = '/projectroot/userdata/';
var fileRoot = '/';
// Show image previews in grid views?
var showThumbs = true;
#########
filemanager.config.php:
/**
* Filemanager PHP connector configuration
*
* filemanager.config.php
* config for the filemanager.php connector
*
* @license MIT License
* @author Riaan Los <mail (at) riaanlos (dot) nl>
* @author Simon Georget <simon (at) linea21 (dot) com>
* @copyright Authors
*/
/**
* Check if user is authorized
*
* @return boolean true is access granted, false if no access
*/
function auth() {
// You can insert your own code over here to check if the user is authorized.
// If you use a session variable, you've got to start the session first (session_start())
return true;
}
/**
* Language settings
*/
$config['culture'] = 'en';
/**
* PHP date format
* see
http://www.php.net/date for explanation
*/
$config['date'] = 'd M Y H:i';
/**
* Icons settings
*/
$config['icons']['path'] = 'images/fileicons/';
$config['icons']['directory'] = '_Open.png';
$config['icons']['default'] = 'default.png';
/**
* Upload settings
*/
$config['upload']['overwrite'] = false; // true or false; Check if filename exists. If false, index will be added
$config['upload']['size'] = false; // integer or false; maximum file size in Mb; please note that every server has got a maximum file upload size as well.
$config['upload']['imagesonly'] = false; // true or false; Only allow images (jpg, gif & png) upload?
/**
* Images array
* used to display image thumbnails
*/
$config['images'] = array('jpg', 'jpeg','gif','png');
/**
* Files and folders
* excluded from filtree
*/
$config['unallowed_files']= array('.htaccess');
$config['unallowed_dirs']= array('_thumbs');
/**
* FEATURED OPTIONS
* for Vhost or outside files folder
*/
//$config['doc_root'] = 'file:///G:/xampp/htdocs/onlineAnzeigen/kundendateien'; // No end slash
$config['doc_root'] = 'G:xpphtdocsprojectrootuata';
// not working yet
//$config['upload']['suffix'] = '_'; // string; if overwrite is false, the suffix will be added after the filename (before .ext)