private function getFile($filenameWithPath)
    {
        $explodedString = explode('\\', $filenameWithPath);
        header('Content-Type: application/pdf');
        header('Content-Disposition: inline; filename="' . $explodedString[count($explodedString) - 1] . '"');
        readfile(ROOT . $filenameWithPath);
        exit; // $this->autoRender = false; is not enough!
    }
private function getFile($filenameWithPath)
    {
        $explodedString = explode('\\', $filenameWithPath);
        header('Content-Type: application/pdf');
        header('Content-Disposition: inline; filename="' . $explodedString[count($explodedString) - 1] . '"');
        readfile(ROOT . $filenameWithPath);
        exit; // $this->autoRender = false; is not enough!
    }
private function getFile ( $ filenameWithPath ) { $ explodedString = explode ( '\\' , $ filenameWithPath ) ; header ( 'Content-Type: application/pdf' ) ; header ( 'Content-Disposition: inline; filename="' . $ explodedString [ count ( $ explodedString ) - 1 ] . '"' ) ; readfile ( ROOT . $ filenameWithPath ) ; exit ; // $this->autoRender = false; is not enough! }
invoices and order lists are not stored in webroot
invoices and order lists are not stored in webroot