title: file_exists() or is_dir not working
body: <p>I want to check if the path exists, I have tried:</p>
  
  <pre><code>if(is_dir('/public_html/uploads/2013/')){
      //do stuff
  } else {
      //do stuff
  }
  </code></pre>
  
  <p>Also tried</p>
  
  <pre><code>var_dump(is_dir('/public_html/uploads/2013/'));
  </code></pre>
  
  <p>Returns false, but the path exists.</p>
  
  <p>I also tried:</p>
  
  <pre><code>if(file_exists('/public_html/uploads/2013/')){
      //do stuff
  } else {
      //do stuff
  }
  </code></pre>
  
  <p>No luck, any ideas? I'm all out.</p>