Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Created September 18, 2012 19:12
Show Gist options
  • Save wilmoore/3745168 to your computer and use it in GitHub Desktop.
Save wilmoore/3745168 to your computer and use it in GitHub Desktop.
Sample C5 Filemanager Configuration
// use with: https://github.com/simogeo/Filemanager/pull/97
var
culture = 'en',
defaultViewMode = 'grid',
autoload = true,
showFullPath = false,
displayPathDecorator = function(path) { return path.replace(/^\d+\/images/i, ''); },
browseOnly = false,
lang = 'php',
am = document.location.pathname.substring(1, document.location.pathname.lastIndexOf('/') + 1),
fileRoot = '/',
relPath = 'https://example.cloudfront.net/',
showThumbs = true,
imagesExt = ['jpg', 'jpeg', 'gif', 'png'],
rootUrl = '/assets/js/v2/ckeditor/3.6.2/plugins/filemanager';
@wilmoore
Copy link
Author

@wilmoore
Copy link
Author

@wilmoore
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment