public function ajax_del_pic() { $group_image_class = new group_image(); $group_image_class->del_image_by_path($_POST['path']); }