1 |
vip-ire |
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 |
|
|
diff -Nur -x '*.orig' -x '*.rej' phpki/phpki-0.82/setup.php mezzanine_patched_phpki/phpki-0.82/setup.php |
16 |
|
|
--- phpki/phpki-0.82/setup.php 2007-07-22 16:34:08.000000000 +0200 |
17 |
|
|
+++ mezzanine_patched_phpki/phpki-0.82/setup.php 2008-12-08 04:08:18.000000000 +0100 |
18 |
|
|
@@ -248,7 +248,7 @@ |
19 |
|
|
# Default OpenSSL Config File. |
20 |
|
|
\$config['openssl_cnf'] = \$config['home_dir'] . '/config/openssl.cnf'; |
21 |
|
|
|
22 |
|
|
-\$PHPki_admins = Array(md5('pkiadmin')); |
23 |
|
|
+\$PHPki_admins = Array(md5('admin')); |
24 |
|
|
|
25 |
|
|
define('OPENSSL',\$config['openssl_bin'].' '); |
26 |
|
|
define('X509', OPENSSL . ' x509 '); |
27 |
|
|
diff -Nur -x '*.orig' -x '*.rej' phpki/phpki-0.82/setup.php-presetup mezzanine_patched_phpki/phpki-0.82/setup.php-presetup |
28 |
|
|
--- phpki/phpki-0.82/setup.php-presetup 2007-07-22 16:34:08.000000000 +0200 |
29 |
|
|
+++ mezzanine_patched_phpki/phpki-0.82/setup.php-presetup 2008-12-08 04:08:18.000000000 +0100 |
30 |
|
|
@@ -248,7 +248,7 @@ |
31 |
|
|
# Default OpenSSL Config File. |
32 |
|
|
\$config['openssl_cnf'] = \$config['home_dir'] . '/config/openssl.cnf'; |
33 |
|
|
|
34 |
|
|
-\$PHPki_admins = Array(md5('pkiadmin')); |
35 |
|
|
+\$PHPki_admins = Array(md5('admin')); |
36 |
|
|
|
37 |
|
|
define('OPENSSL',\$config['openssl_bin'].' '); |
38 |
|
|
define('X509', OPENSSL . ' x509 '); |