public function requireFile($file, $return = false)
    {
        if($this->findFile($file)) {
            if($return !== false) {
                return require($file);
            }
            else {
                require($file);
            }
        }
        else {
            throw new Exception($file." file is missing.");
            exit;
        }
    }
public function requireFile($file, $return = false)
    {
        if($this->findFile($file)) {
            if($return !== false) {
                return require($file);
            }
            else {
                require($file);
            }
        }
        else {
            throw new Exception($file." file is missing.");
            exit;
        }
    }
public function requireFile ( $ file , $ return = false ) { if ( $ this -> findFile ( $ file ) ) { if ( $ return !== false ) { return require ( $ file ) ; } else { require ( $ file ) ; } } else { throw new Exception ( $ file . " file is missing." ) ; exit ; } }
Require a file.

@param   string  $file
@param   bool    $return
@return  void
@throws  Exception
Require a file .