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.

1 Answer 1


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.

  • 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
    Commented Apr 2, 2015 at 16:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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