0

I cant quite wrap my head around the way the way the heroku file system works, so I'd like to use relative paths for my asset File System Paths. Is that even possible?

I've tried to use CRAFT_BASE_PATH in the general settings file to define an environmental variable, but no real luck getting my assets folders to be recognized.

2

Take a look at Multi-Environment Configs and specifically environmentVariables. Then you can add your variables to the settings in the Craft CP.

Note: you'll have to figure out Heroku's paths by trial and error or ask their support staff for help.

| improve this answer | |
  • This is what I was afraid of — I dont have any issue with the Multi-Environement configs, its more trying to avoid having to plumb the depths of the heroku file system. – kenyabob Apr 2 '15 at 16:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.