CMS MADE SIMPLE FORGE

Gallery

 

[#8971] Hiding Gallery and GalleryThumbs folders

avatar
Created By: Matthijs de Bruin (Tygrinn)
Date Submitted: 2013-02-22 12:06

Assigned To: Jos (josvd)
Resolution: None
State: Open
Summary:
Hiding Gallery and GalleryThumbs folders
Detailed Description:
Our client ran into trouble after messing around in the /uploads/images/Gallery
folder with the image manager and file manager. After this the Gallery module
crashed the page-generation leaving both frontend and backend pages severely
mangled.

I browsed the image and file manager classes of CMSMS and discovered that
folders beginning with a dot are hidden from the user, so I changed the first
two lines of Gallery.module.php to:

define('DEFAULT_GALLERY_PATH', "uploads/images/.Gallery/");
define('DEFAULT_GALLERYTHUMBS_PATH', "uploads/images/.GalleryThumbs/");

and changed the folder names accordingly which seems to solve our problem and
the client's confusion.

Is our client the exception or does the confusion occur more often?

History

Updates

Updated: 2013-02-22 12:07
resolution_id: => 5
assigned_to_id: 100 => 11752