source: trunk/admin/inc/ckeditor/filemanager/core/types/type_img.php@ 239

Last change on this file since 239 was 239, checked in by luc, 9 years ago

Admin: correzione visulaizzazione immissione dati spoglio per Chrome e Safari - Aggiornamento dell'editor da FCKeditor a CKeditor , accessibili anche a Chrome e Safari.

  • Property svn:executable set to *
File size: 643 bytes
Line 
1<?php
2
3/** This file is part of KCFinder project
4 *
5 * @desc GD image detection class
6 * @package KCFinder
7 * @version 2.51
8 * @author Pavel Tzonkov <pavelc@users.sourceforge.net>
9 * @copyright 2010, 2011 KCFinder Project
10 * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
11 * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
12 * @link http://kcfinder.sunhater.com
13 */
14
15class type_img {
16
17 public function checkFile($file, array $config) {
18 $gd = new gd($file);
19 if ($gd->init_error)
20 return "Unknown image format/encoding.";
21 return true;
22 }
23}
24
25?>
Note: See TracBrowser for help on using the repository browser.