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 |
|
|
+ my $primary_location = '/home/e-smith/files/primary/html/index.htm'; |
9 |
|
|
|
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'); |