title: warning glob() expects parameter 2 to be to long
body: <p>When I navigate to the gallery page on my website, above where the album thumbnail picture is there is the error message that I will type below.</p>
  
  <pre><code>warning glob() expects parameter 2 to be to long, string blah blah blah on line 237
  </code></pre>
  
  <p>I'm using FolioGallery version 2.0.
  <a href="http://www.foliopages.com/php-jquery-ajax-photo-gallery-no-database" rel="nofollow">http://www.foliopages.com/php-jquery-ajax-photo-gallery-no-database</a></p>
  
  <p>FolioGallery.php
  <a href="http://pastebin.com/R77yYBuA" rel="nofollow">http://pastebin.com/R77yYBuA</a></p>
  
  <p>I'm not sure what version of PHP my host is using, but on my local web hosting machine that I use to locally test my website it works fine. I'm sure that my local host PHP version is newer than my hosts PHP version. Is there any way to get this to work on the older PHP version?</p>
  
  <p>This is what I'm using to call the FolioGallery</p>
  
  <pre><code>            &lt;!-- Start Gallery --&gt;
              &lt;div class="php-gallery"&gt;
              &lt;?php include('foliogallery-demo2.php'); ?&gt;
              &lt;/div&gt;
              &lt;!-- End Gallery --&gt;
  </code></pre>
  
  <p>FolioGallery-demo2.php 
  <a href="http://pastebin.com/vka1zJiA" rel="nofollow">http://pastebin.com/vka1zJiA</a></p>
  
  <p>The scripts and other related files can be downloaded from the FolioGallery link which I provided above.</p>