cherryframework4 icon indicating copy to clipboard operation
cherryframework4 copied to clipboard

.DS_Store Solution Solved for Mac

Open ReessKennedy opened this issue 9 years ago • 1 comments

I love the statics feature on Cherry4 but it was picking up the .DS_Store files on my Mac and outputting all these crazy characters on the site which was driving me nuts.

I fixed it by unsetting the fist few hidden files in the statics array located in the init file.

This is only relevant if for the local environment so you could keep things the same on remote if you've properly ignored .DS_Store in your version control.

screen shot 2016-12-08 at 11 22 51 am

ReessKennedy avatar Dec 08 '16 16:12 ReessKennedy

Actually / update: You MUST only use this if you're on local and mac and have this issue otherwise it will unset the actual statics you want.

ReessKennedy avatar Dec 08 '16 17:12 ReessKennedy