X7ROOT File Manager
Current Path:
/var/www/vhosts/hwtw.com.tw/httpdocs/backend/kcfinder/core/types
var
/
www
/
vhosts
/
hwtw.com.tw
/
httpdocs
/
backend
/
kcfinder
/
core
/
types
/
📁
..
📄
type_img.php
(643 B)
📄
type_mime.php
(1.37 KB)
Editing: type_img.php
<?php /** This file is part of KCFinder project * * @desc GD image detection class * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2 * @link http://kcfinder.sunhater.com */ class type_img { public function checkFile($file, array $config) { $gd = new gd($file); if ($gd->init_error) return "Unknown image format/encoding."; return true; } } ?>
Upload File
Create Folder