/[smeserver]/rpms/e-smith-starterwebsite/sme9/e-smith-starterwebsite-2.4.0-primary-location.patch
ViewVC logotype

Annotation of /rpms/e-smith-starterwebsite/sme9/e-smith-starterwebsite-2.4.0-primary-location.patch

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


Revision 1.2 - (hide annotations) (download)
Thu Mar 27 09:27:45 2014 UTC (10 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-starterwebsite-2_4_0-3_el6_sme, HEAD
Changes since 1.1: +1 -1 lines
* Thu Mar 27 2014 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme
- Correctly update the location of Primary index.html [SME: 8289]

1 wellsi 1.1 diff -ruN e-smith-starterwebsite-2.4.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/starterwebsite.pm e-smith-starterwebsite-2.4.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/starterwebsite.pm
2     --- e-smith-starterwebsite-2.4.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/starterwebsite.pm 2003-01-06 09:50:25.000000000 -0800
3     +++ e-smith-starterwebsite-2.4.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/starterwebsite.pm 2014-03-27 01:17:53.000000000 -0700
4     @@ -135,8 +135,9 @@
5     my ($fm) = @_;
6    
7     my $q = $fm->{'cgi'};
8 wellsi 1.2 + my $primary_location = ' /home/e-smith/files/ibays/Primary/html/index.htm';
9 wellsi 1.1
10     - if (! open (WR, ">/home/e-smith/files/primary/html/index.htm"))
11     + if (! open (WR, ">$primary_location"))
12     {
13     $fm->{cgi}->param( -name => 'initial_message', -value => 'OPEN_INDEX_FAIL');
14     $fm->{cgi}->param( -name => 'wherenext', -value => 'Done' );
15     @@ -225,8 +226,8 @@
16     close WR;
17    
18     esmith::util::chownFile("admin", "shared",
19     - "/home/e-smith/files/primary/html/index.htm");
20     - chmod 0640, "/home/e-smith/files/primary/html/index.htm";
21     + $primary_location);
22     + chmod 0640, $primary_location;
23    
24    
25     #$fm->{cgi}->param( -name => 'initial_message', -value => 'CHANGE_SUCCEEDED');

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