title: How can I add a folder to "allowed_resources" in resource_config.json?
body: <p>I'm testing out using the database for media storage in Magento, as described here: <a href="http://www.aschroder.com/2013/04/actually-running-magento-on-amazons-elastic-beanstalk-cloud-platform/" rel="nofollow">http://www.aschroder.com/2013/04/actually-running-magento-on-amazons-elastic-beanstalk-cloud-platform/</a></p>
  
  <p>It works fine for catalog product images. It even works through Cloudfront, as long as I explicitly include "/get.php" in the address. However, one module we use stores images in media/custom/Skitterslideshows. Magento cannot retrieve any of those images from the database.  </p>
  
  <p>If I put the file into the file system in that folder, I can get the image through www.domain.com/media/custom/Skitterslideshows/image.jpg. </p>
  
  <p>But I cannot get it through www.domain.com/get.php/media/custom/Skitterslideshows/image.jpg.</p>
  
  <p>It seems that get.php cannot access folders unless they are listed as "allowed_resources" in var/resource_config.json</p>
  
  <p>My resource_config.json contains the following:</p>
  
  <p>{"media_directory":"/var/app/current/media","allowed_resources":["css","css_secure","js","favicon","email","wysiwyg","catalog","custom_options","dhl","captcha","xmlconnect"],"update_time":"1"}</p>
  
  <p>If I place a file in one of the listed folders, I can get to it through get.php, even though it is not in the database. I tried editing resource_config.json to include "custom" but it does nothing, and the file just gets overwritten the next time I use get.php.</p>
  
  <p>I guess my question is how can I add "allowed_resources"?</p>