/[docman2]/htusers/union.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /htusers/union.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Sat Jul 20 13:10:41 2002 UTC (21 years, 9 months ago) by dpavlin
Branch point for: MAIN, DbP
Initial revision

1 dpavlin 1.1 <?
2    
3     /*
4     Document manager handling for union of different htuser auth
5     methods.
6    
7     Use $htusers_union[] in docman.conf to specify which methods
8     to use and in which order.
9    
10     */
11    
12     global $gblLogin,$gblPasswd,$secHash;
13    
14     $try_more=1;
15    
16     while($this = array_shift($htusers_union)) {
17     if (file_exists("$gblIncDir/$this.php")) {
18     include("$gblIncDir/$this.php");
19     $tmp=md5($gblLogin.$gblPasswd);
20     if ($tmp == $secHash) {
21     //error_log("user: $PHP_AUTH_USER pw: $PHP_AUTH_PW authed using $this",0);
22     break;
23     }
24     }
25     }
26    
27     ?>

  ViewVC Help
Powered by ViewVC 1.1.26