From 524d7611147cf398c1c8421360125e61f9a894fe Mon Sep 17 00:00:00 2001 From: Roberto Vasquez Date: Tue, 13 Oct 2015 11:33:28 -0700 Subject: [PATCH] Security fixes 21 --- interface/patient_file/upload_dialog.php | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/interface/patient_file/upload_dialog.php b/interface/patient_file/upload_dialog.php index 8c9e78205..9675838ae 100644 --- a/interface/patient_file/upload_dialog.php +++ b/interface/patient_file/upload_dialog.php @@ -1,10 +1,25 @@ -// -// This program is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License -// as published by the Free Software Foundation; either version 2 -// of the License, or (at your option) any later version. +/** + * This script upload image to file. + * + * Copyright (C) 2009-2010 Rod Roark + * + * LICENSE: This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see ;. + * + * @package OpenEMR + * @author Rod Roark + * @author Roberto Vasquez + * @link http://www.open-emr.org + */ require_once("../globals.php"); @@ -83,7 +98,7 @@ $imagedir = "$patientdir/demographics"; -
+
-- 2.11.4.GIT