1 |
brianr |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' phpki/phpki-0.82/include/common.php mezzanine_patched_phpki/phpki-0.82/include/common.php |
2 |
|
|
--- phpki/phpki-0.82/include/common.php 2007-01-04 05:22:30.000000000 +0100 |
3 |
|
|
+++ mezzanine_patched_phpki/phpki-0.82/include/common.php 2008-12-08 04:08:04.000000000 +0100 |
4 |
|
|
@@ -2,8 +2,8 @@ |
5 |
|
|
|
6 |
|
|
umask(0007); |
7 |
|
|
|
8 |
|
|
-if ($HTTP_SERVER_VARS['PHP_AUTH_USER']) |
9 |
|
|
- $PHPki_user = md5($HTTP_SERVER_VARS['PHP_AUTH_USER']); |
10 |
|
|
+if ($HTTP_SERVER_VARS['REMOTE_USER']) |
11 |
|
|
+ $PHPki_user = md5($HTTP_SERVER_VARS['REMOTE_USER']); |
12 |
|
|
else |
13 |
|
|
$PHPki_user = md5('default'); |
14 |
|
|
|
15 |
|
|
define('OPENSSL',\$config['openssl_bin'].' '); |
16 |
|
|
define('X509', OPENSSL . ' x509 '); |
17 |
|
|
diff -Nur -x '*.orig' -x '*.rej' phpki/phpki-0.82/setup.php-presetup mezzanine_patched_phpki/phpki-0.82/setup.php-presetup |
18 |
|
|
--- phpki/phpki-0.82/setup.php-presetup 2007-07-22 16:34:08.000000000 +0200 |
19 |
|
|
+++ mezzanine_patched_phpki/phpki-0.82/setup.php-presetup 2008-12-08 04:08:18.000000000 +0100 |
20 |
|
|
@@ -248,7 +248,7 @@ |
21 |
|
|
# Default OpenSSL Config File. |
22 |
|
|
\$config['openssl_cnf'] = \$config['home_dir'] . '/config/openssl.cnf'; |
23 |
|
|
|
24 |
|
|
-\$PHPki_admins = Array(md5('pkiadmin')); |
25 |
|
|
+\$PHPki_admins = Array(md5('admin')); |
26 |
|
|
|
27 |
|
|
define('OPENSSL',\$config['openssl_bin'].' '); |
28 |
|
|
define('X509', OPENSSL . ' x509 '); |