コード例 #1
0
 /**
  * Is this downloader compatible?
  * @param BaseFileDownload $file
  * @return bool TRUE if is compatible; FALSE if not
  */
 function isCompatible(BaseFileDownload $file)
 {
     if (self::$checkEnvironmentSettings === true) {
         if (FDTools::setTimeLimit(0) !== true) {
             return false;
         }
     }
     return true;
 }