summaryrefslogtreecommitdiff
path: root/includes/crypt.php
blob: 474cd62c4861bba7d9a501fbfb461548bdc472a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php


function PassCrypt($passwort) {
include "./config.php";

switch ($crypt_system) {
  case "crypt":
          return "{crypt}".crypt($passwort, "77");
  case "md5":
          return md5($passwort);
  }

}
													      


?>