DOCROOT/6767823e53ba538c.php [ 82 ]
77 header('Connection: Keep-Alive');
78 header('Expires: 0');
79 header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
80 header('Pragma: public');
81 $filepath = getcwd().'/media/upload/'.$files[0]['path'];
82 header('Content-Length: ' . filesize($filepath));
83 readfile($filepath);
84 die();
85 } else {
86 $zippy = new ZipArchive();
87 $tempfile = tempnam("tmp", "zip");
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(155) "filesize(): stat failed for /home/mcpl2/domains/citroenmkt.mcpl2.pro-linuxpl.com/public_html/media/upload/07/07072014140254_cenn …"
2
string(85) "/home/mcpl2/domains/citroenmkt.mcpl2.pro-linuxpl.com/public_html/6767823e53ba538c.php"
3
integer 82
4
array(2) ( "files" => array(1) ( 0 => array(2) ( "name" => string(15) "Nowy Jumper Van" "path" => string(49) "07/07072014140254_cenniknowyjumpervan01072014.pdf" ) ) "filepath" => string(127) "/home/mcpl2/domains/citroenmkt.mcpl2.pro-linuxpl.com/public_html/media/upload/07/07072014140254_cenniknowyjumpervan01072014.pdf" )
-
DOCROOT/6767823e53ba538c.php [ 82 ] » filesize(arguments)
filename
string(127) "/home/mcpl2/domains/citroenmkt.mcpl2.pro-linuxpl.com/public_html/media/upload/07/07072014140254_cenniknowyjumpervan01072014.pdf"
77 header('Connection: Keep-Alive'); 78 header('Expires: 0'); 79 header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); 80 header('Pragma: public'); 81 $filepath = getcwd().'/media/upload/'.$files[0]['path']; 82 header('Content-Length: ' . filesize($filepath)); 83 readfile($filepath); 84 die(); 85 } else { 86 $zippy = new ZipArchive(); 87 $tempfile = tempnam("tmp", "zip");
-
DOCROOT/6767823e53ba538c.php [ 65 ] » FLApi->downloadFile(arguments)
0
array(1) ( 0 => array(2) ( "name" => string(15) "Nowy Jumper Van" "path" => string(49) "07/07072014140254_cenniknowyjumpervan01072014.pdf" ) )
60 if(!empty($results)) 61 foreach($results as $result) 62 { 63 $output[] = array('name'=>$result['name'], 'path'=>$result['path']); 64 } 65 $this->downloadFile($output); 66 } 67 68 private function downloadFile($files) 69 { 70 //if(0)
-
DOCROOT/6767823e53ba538c.php [ 118 ] » FLApi->getFile(arguments)
0
string(3) "925"
113 114 //To Decrypt 115 $id = openssl_decrypt($fash, $encryptionMethod, $secretHash); 116 117 if(!empty($id)) 118 $flapi->getFile($id);