Browse Source

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

master
Alexander Demidov 11 years ago
parent
commit
e04e68ca5f
  1. 1
      Upload.class.php

1
Upload.class.php

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

Loading…
Cancel
Save