Убрано ручное подключение GreagwarImage

This commit is contained in:
Alexander Demidov
2013-12-27 18:25:00 +04:00
parent 9aa44e1993
commit e04e68ca5f

View File

@ -10,7 +10,6 @@ abstract class Upload
public static function &getGreagwarImage($file_path)
{
require_once PATH . '/lib/GreagwarImage/GreagwarImage.php';
$greagwar_image = new GreagwarImage($file_path);
$greagwar_image->setCacheDir(Config::get('PATH_WEB_ROOT') . DIRECTORY_SEPARATOR . self::$dir_image_cache);
return $greagwar_image;