1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 05:55:02 +03:00

Mime type identification fix.

This commit is contained in:
Alexey Kachayev 2009-09-11 23:22:46 +00:00
parent 16fb2deae5
commit d30dc95f82

View file

@ -106,7 +106,6 @@ class LiveImage {
/**
* Определяем тип файла изображения
*/
$size['mime']=image_type_to_mime_type($size['mime']);
switch ($size['mime']) {
case 'image/png':
case "image/x-png":
@ -550,8 +549,8 @@ class LiveImage {
}
public function set_last_error($id) {
$this->last_err_text=$this->error_messages[$id];
$this->last_err_num=$this->$id;
$this->last_err_text = $this->error_messages[$id];
$this->last_err_num = $id;
}
public function get_last_error() {