title: Magento 1.8.1: media directory bug if using symlink
body: <p>I am having trouble with my Magento install, in the CMS when I go to insert an image with the wysiwig editor the folder keeps opening repeatedly.</p>
  
  <p>The folder structure should be:</p>
  
  <pre><code>- infortis
      - brands
      - fortis
      - ultimo
  </code></pre>
  
  <p>But what I get is:</p>
  
  <pre><code>-infortis
      -infortis
          -infortis
              -infortis
                  -infortis
  </code></pre>
  
  <p>And this just keeps repeating. </p>
  
  <p>Magento Version 1.8.1. Any help appreciated.</p>