From 7bef10bf68191937656750f7547d2085074d2ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Fri, 20 Jun 2014 09:34:15 +0000 Subject: [PATCH] --- .htaccess | 13 +++++++++++++ cis/private/profile/change_password.php | 1 - content/student/studentDBDML.php | 5 ++++- content/student/studentenoverlay.xul.php | 2 +- include/tw/passwort.inc.php | 14 +++++++------- system/xsl/Zeugnis_0_v6.xsl | 20 ++++++++++---------- 6 files changed, 35 insertions(+), 20 deletions(-) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 000000000..86d7decf5 --- /dev/null +++ b/.htaccess @@ -0,0 +1,13 @@ +#XDebug Konfiguration + +php_value xdebug.remote_enable 1 +php_value xdebug.remote_handler dbgp +php_value xdebug.remote_host 10.63.0.68 +php_value xdebug.allowed_clients 10.63.0.68 +php_value xdebug.remote_port 9000 + +#XDebug Profiler (Cachegrind) +php_value xdebug.profiler_enable_trigger 1 +php_value xdebug.profiler_enable 0 +php_value xdebug.profiler_output_dir "/var/www/oesi/xdebug" +php_value xdebug.profiler_append 1 diff --git a/cis/private/profile/change_password.php b/cis/private/profile/change_password.php index 83132e1d1..3cdc0bb1c 100644 --- a/cis/private/profile/change_password.php +++ b/cis/private/profile/change_password.php @@ -27,7 +27,6 @@ require_once('../../../include/functions.inc.php'); require_once('../../../include/benutzer.class.php'); require_once('../../../addons/ldap/vilesci/ldap.class.php'); require_once('../../../include/phrasen.class.php'); -require_once('../../../include/Crypt_CHAP-1.5.0/CHAP.php'); require_once('../../../include/'.EXT_FKT_PATH.'/passwort.inc.php'); $uid = get_uid(); diff --git a/content/student/studentDBDML.php b/content/student/studentDBDML.php index 9912e15f5..2a46af550 100644 --- a/content/student/studentDBDML.php +++ b/content/student/studentDBDML.php @@ -1032,7 +1032,10 @@ if(!$error) $stg_obj = new studiengang(); $stg_obj->load(ltrim($stg,'0')); $uid = generateUID($stg_obj->kurzbz,$jahr,$stg_obj->typ,$matrikelnr); - + + $qry = "UPDATE public.tbl_person SET matr_nr=".$db->db_add_param($uid)." WHERE person_id=".$db->db_add_param($prestd->person_id, FHC_INTEGER).' AND matr_nr is null'; + $db->db_query($qry); + //Benutzerdatensatz anlegen $benutzer = new benutzer(); $benutzer->uid = $uid; diff --git a/content/student/studentenoverlay.xul.php b/content/student/studentenoverlay.xul.php index 6f77ca647..039ecbcf0 100644 --- a/content/student/studentenoverlay.xul.php +++ b/content/student/studentenoverlay.xul.php @@ -91,8 +91,8 @@ else