onedesign / generator-one-base

A foundation for One Design Company projects on the web.
Other
1 stars 1 forks source link

Move Imager config into .env #86

Closed cmalven closed 7 years ago

cmalven commented 7 years ago

It's been so long since I've worked on a site that used Imager instead of imgix that a problem with the way we set our imagerSystemPath config slipped under the radar.

On certain versions of OS X and with certain servers, our current method of setting this to $_SERVER['DOCUMENT_ROOT'] . '/imager/' won't work, and instead we should be setting it to a hard-coded path (e.g. /Users/user/path/formation/public/imager/) and setting it in .env.

This requires updating the following files: