We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

{document_root} variable in upload path

Feature Requests

Est Digital's avatar
Est Digital
62 posts
10 years ago
Est Digital's avatar Est Digital

Wouldn’t it be nice to be able to use {document_root} in the upload dirs (upload path). This way we don’t have to put all the upload dirs in the config.php for multi environments.

example: {document_root}/uploads/directory_one/

       
Sean C. Smith's avatar
Sean C. Smith
3,818 posts
10 years ago
Sean C. Smith's avatar Sean C. Smith

+1

Though a multi environment config set up is not too difficult to do. Ideally we’d have multi environment available out of the box.

       
Est Digital's avatar
Est Digital
62 posts
10 years ago
Est Digital's avatar Est Digital

“Ideally we’d have multi environment available out of the box”

That would be awesome

       
Kurt Deutscher's avatar
Kurt Deutscher
827 posts
10 years ago
Kurt Deutscher's avatar Kurt Deutscher

Oh.. this one would be a time saver at launch. +1

       
Derek Jones's avatar
Derek Jones
7,561 posts
9 years ago
Derek Jones's avatar Derek Jones

Just closing the loop here that this was implemented in 3.4.0 with {base_url} and {base_path}.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.