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

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

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


Revision 1.2 - (show annotations) (download)
Mon Oct 8 07:21:32 2018 UTC (6 years, 1 month ago) by dani
Branch: MAIN
CVS Tags: phpki-0_82-21_el6_sme, phpki-0_82-22_el6_sme, phpki-0_82-20_el6_sme, phpki-0_82-18_el6_sme, phpki-0_82-23_el6_sme, phpki-0_82-19_el6_sme, HEAD
Changes since 1.1: +0 -10 lines
Error occurred while calculating annotation data.
Remove redundant hunks from patches (setup.php is a link to setup.php-presetup)

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

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