- modules/fotolab updated imagej to current version & some cod fixes to make it work
[care2x.git] / Care2007 / modules / medocs / include / inc_local_user.php
blob5415c800dadcb186abad05106d88f7f84b229c8a
1 <?php
2 #------begin------ This protection code was suggested by Luki R. luki@karet.org
3 if (eregi('inc_drg_entry_save.php',$PHP_SELF))
4 die('<meta http-equiv="refresh" content="0; url=../../">');
5 #------end
7 if($HTTP_SESSION_VARS['sess_user_origin']=='admission') {
8 $breakfile=$root_path.'modules/registration_admission/aufnahme_daten_zeigen.php'.URL_APPEND.'&encounter_nr='.$HTTP_SESSION_VARS['sess_en'];
9 $local_user='aufnahme_user';
10 }elseif($HTTP_SESSION_VARS['sess_user_origin']=='registration'){
11 $breakfile=$root_path.'modules/registration_admission/patient_register_show.php'.URL_APPEND.'&pid='.$HTTP_SESSION_VARS['sess_pid'];
12 $local_user='aufnahme_user';
13 }else{
14 $breakfile='medocs_pass.php';
15 $local_user='medocs_user';