title: RecursiveDirectoryIterator gives exception
body: <p>RecursiveDirectoryIterator gives  Unexpected Value Exeception</p>
  
  <pre><code>$path= WEB."sync_content/offer/";
    $files = new RecursiveIteratorIterator(
                  new RecursiveDirectoryIterator($path),
                  RecursiveIteratorIterator::LEAVES_ONLY
              );
  
   foreach ($files as $name =&gt; $file) {
          $fn=$file-&gt;getFilename();
          if($fn!='.' &amp;&amp; $fn!='..' &amp;&amp; !is_dir($fn)) {
              $filePath = $file-&gt;getRealPath();
              $zip-&gt;addFile($filePath,$fn);   
          }
      }
  </code></pre>
  
  <p>And the error is:</p>
  
  <blockquote>
    <p>fatal error
    Uncaught exception 'UnexpectedValueException' with message 'RecursiveDirectoryIterator::__construct(<a href="http://localhost/base/sync_content/offer/" rel="nofollow">http://localhost/base/sync_content/offer/</a>): failed to open dir: not implemented in C:\xampp\htdocs\base\classes\campaigns.class.php 249</p>
  </blockquote>