Self-Evident / OneFileCMS

A single file cms - all in one file!
http://onefilecms.com/
165 stars 57 forks source link

Exclude folder? #26

Closed Hadzinko closed 10 years ago

Hadzinko commented 11 years ago

hello,

I really like your script, thanks for your work first at all...

I have one question, there is possibility to exclude any file from showing in file lists, but is there a simple way to exclude folder? Im newby to PHP , i was trying to update code by myself but i didnt get it work.

thanks for your help

Self-Evident commented 10 years ago

Hello Hadzinko,

I apologize for the delayed response - I have been away from this for a while. I hope OneFile has been useful.

Currently, OneFile isn't setup to exclude folders, only individual files. But, it should. So, that will get added in the next update. So, if you're still using it, check back in a few days (maybe a week), because it shouldn't be a difficult update (yea, I probably shouldn't have said that...)

Thanks for taking time to post the question.

Self-Evident commented 10 years ago

FIXED $config_excluded, the config variable that contains a list of file names to be excluded from the current directory listing, may now also contain folder names to be excluded.

Previously, for some unremembered reason, folders were always displayed, even if a folder's name was included in $config_excluded.