/[docman]/docman.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

Diff of /docman.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.29 by dpavlin, Fri Jan 26 09:32:48 2001 UTC revision 1.30 by dpavlin, Fri Jan 26 12:39:57 2001 UTC
# Line 76  TODO: Line 76  TODO:
76  //      error_reporting(4) ;            // how verbose ?  //      error_reporting(4) ;            // how verbose ?
77    
78          // from where to include auth_*.php modules?          // from where to include auth_*.php modules?
79          $gblIncDir = "/data/docman";          $gblIncDir = "/home/httpd/docman";
80    
81          // username/password should not be system          // username/password should not be system
82          // usernames/passwords !!          // usernames/passwords !!
# Line 99  TODO: Line 99  TODO:
99                                  require("$gblIncDir/$gblPw.php");                                  require("$gblIncDir/$gblPw.php");
100                                  if ($gblPw($user)) {                                  if ($gblPw($user)) {
101                                          $gblPw=md5($PHP_AUTH_USER.$PHP_AUTH_PW);                                          $gblPw=md5($PHP_AUTH_USER.$PHP_AUTH_PW);
102                                    } else {
103                                            $gblPw="error".md5($PHP_AUTH_USER.$PHP_AUTH_PW);
104                                  }                                  }
105                          }                          }
106                          $gblEmail=$user[3];                          $gblEmail=$user[3];

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.26