core/classes/FileHelper.class.php
public function XServeAsDownload($path){

        $this->isFileOrDie($path);

        $this->downloadHeaders($path);
        $this->XServe($path);

    }
public function XServeAsDownload($path){

        $this->isFileOrDie($path);

        $this->downloadHeaders($path);
        $this->XServe($path);

    }
public function XServeAsDownload ( $ path ) { $ this -> isFileOrDie ( $ path ) ; $ this -> downloadHeaders ( $ path ) ; $ this -> XServe ( $ path ) ; }
Serve a file as a download using the Apache module XSendFile.


@param string $path The file to be downloaded.

@return void
Serve a file as a download using the Apache module XSendFile .