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

Contents 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.2 - (show annotations) (download)
Tue Jan 28 17:16:26 2014 UTC (10 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Tue Jan 28 2014 Ian Wells <esmith@wellsi.com> 4.4.0-8.sme
- Replace last change with a default value for horde access [SME: 7351]

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