/[smecontribs]/rpms/phpki/contribs8/phpki-0.82-sme_admin_user.patch
ViewVC logotype

Contents of /rpms/phpki/contribs8/phpki-0.82-sme_admin_user.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri May 24 22:17:29 2013 UTC (11 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: phpki-0_82-17_el5_sme, phpki-0_82-16_el5_sme, HEAD
Initial import

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 ');

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed