/[smeserver]/rpms/e-smith-horde/sme9/e-smith-horde-4.4.0-give_value_horde-access.patch
ViewVC logotype

Annotation of /rpms/e-smith-horde/sme9/e-smith-horde-4.4.0-give_value_horde-access.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Jan 26 16:59:45 2014 UTC (10 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-horde-4_4_0-7_el6_sme
* Sun Jan 26 2014 Ian Wells <esmith@wellsi.com> 4.4.0-7.sme
- Ensure initialisation of variables in webmail-only-local-network by Stephane de Labrusse [SME: 7351]

1 wellsi 1.1 diff -Nur e-smith-horde-4.4.0-old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess e-smith-horde-4.4.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess
2     --- e-smith-horde-4.4.0-old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess 2014-01-24 16:06:03.316251275 +0100
3     +++ e-smith-horde-4.4.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/85HordeAccess 2014-01-24 16:09:37.071189293 +0100
4     @@ -6,7 +6,8 @@
5    
6     my $PHPStatus = $php{"status"};
7     my $status = $horde{'status'};
8     -
9     + my $access = $horde{'access'} || 'private';
10     +
11     if (!defined $PHPStatus or $PHPStatus ne 'enabled')
12     {
13     $OUT .= "# Error: horde is enabled but PHP is not enabled.";
14     @@ -27,7 +28,7 @@
15     deny from all
16     );
17     $OUT .= " allow from ";
18     - $OUT .= ( $horde{access} eq "public" ) ? "all" : $localAccess;
19     + $OUT .= ( $access eq "public" ) ? "all" : $localAccess;
20     $OUT .= "\n";
21     $OUT .= qq(
22     AddType application/x-httpd-php .php .php3

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