6 * @link http://www.open-emr.org
7 * @author Brady Miller <brady.g.miller@gmail.com>
8 * @copyright Copyright (c) 2018 Brady Miller <brady.g.miller@gmail.com>
9 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
13 require_once("../../globals.php");
15 $clean_id=sanitizeNumber($_GET["id"]);
17 if (substr($_GET["formname"], 0, 3) === 'LBF') {
18 // Use the List Based Forms engine for all LBFxxxxx forms.
19 include_once("$incdir/forms/LBF/view.php");
21 // ensure the path variable has no illegal characters
22 check_file_dir_name($_GET["formname"]);
24 include_once("$incdir/forms/" . $_GET["formname"] . "/view.php");