Ignore:
Timestamp:
Aug 25, 2013, 10:27:04 AM (11 years ago)
Author:
mistic100
Message:

error when open_basedir restriction in effect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/EasyCaptcha/admin.php

    r24226 r24233  
    6363  while (($item = readdir($dh)) !== false )
    6464  {
    65     if ($item!=='.' && $item!=='..' && file_exists($dir.'/'.$item.'/conf.inc.php'))
     65    if ($item!=='.' && $item!=='..' && is_dir($dir.'/'.$item) && file_exists($dir.'/'.$item.'/conf.inc.php'))
    6666    {
    6767      $drag_images = include($dir.'/'.$item.'/conf.inc.php');
Note: See TracChangeset for help on using the changeset viewer.