diff --git a/application/controllers/preferences.php b/application/controllers/preferences.php index 139a7a9..f558a60 100644 --- a/application/controllers/preferences.php +++ b/application/controllers/preferences.php @@ -185,7 +185,7 @@ function index() strlen($_FILES['emot_upload']['name']) > 0) { $this->load->library('upload', array( 'upload_path' => './img/emoticons/', - 'allowed_types' => 'gif|png', + 'allowed_types' => 'gif', 'max_size' => 20, 'max_width' => 16, 'max_height' => 16,