Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
file = $file; $class = $this; array_walk($options, function ($item, $key) use ($class) { $class->$key = $item; }); return $this; } public function getInfo() { $this->checkInfo(); return $this->info; } public function info() { if (PHP_OS === 'WINNT') { $content = shell_exec('"'.$this->bin().'" "'.$this->file.'"'); } else { $content = shell_exec($this->bin()." '".$this->file."'"); } // print_r($info); $options = explode("\n", $content); $info = []; foreach ($options as &$item) { if (!empty($item)) { list($key, $value) = explode(":", $item); $info[ str_replace([" "], ["_"], strtolower($key)) ] = trim($value); } } $this->info = $info; return $this; } public function getDom() { $this->checkInfo(); return new Html($this->file); } public function html($page = 1) { $dom = $this->getDom(); return $dom->raw($page); } public function getPages() { $this->checkInfo(); return $this->info['pages']; } private function checkInfo() { if ($this->info == null) $this->info(); } public function bin() { return Config::get('pdfinfo.bin', '/usr/bin/pdfinfo'); } }