[chora] Undefined $where variable

Benjamin Baez bbaez at biospectra.com
Thu Feb 13 21:56:39 PST 2003


Line 92 of lib/CVSLib/Directory.php has an undefined $where variable


function browseDir($flags = CVSLIB_LOG_QUICK, $attic = CVSLIB_ATTIC_HIDE)
     {
         /* Make sure we are trying to list a directory */
         if (!@is_dir($this->dirName)) {
              return new CVSLib_Error(CVSLIB_NOT_FOUND, "Unable to find 
directory");
         }

         /* Open the directory for reading its contents */
         if (!($DIR = @opendir($this->dirName))) {
              $errmsg = (!empty($php_errormsg)) ? $php_errormsg : 
'Permission Denied';
              return new CVSLib_Error(CVSLIB_PERMISSION_DENIED, "$where: 
$errmsg");
         }



More information about the chora mailing list