Subversion Repositories personal-webbase

Rev

Rev 12 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12 Rev 14
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
3
if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
3
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
4
 
4
 
5
if ($ib_user_type < 2) die('Keine Zugriffsberechtigung');
5
if ($wb_user_type < 2) die('Keine Zugriffsberechtigung');
6
 
6
 
7
  if ($aktion == 'changepwd')
7
  if ($aktion == 'changepwd')
8
  {
8
  {
9
    if ($konfiguration[$modul]['admin_pwd'] != md5($oldpwd))// TODO: use sha3 hash, salted and peppered
9
    if ($konfiguration[$modul]['admin_pwd'] != md5($oldpwd))// TODO: use sha3 hash, salted and peppered
10
    {
10
    {