Last change
on this file since 463 was
127,
checked in by jbarnold, 18 years ago
|
old copies of locker software
|
-
Property svn:executable set to
*
|
File size:
857 bytes
|
Line | |
---|
1 | #!/usr/bin/perl |
---|
2 | use strict; |
---|
3 | use lib '/mit/scripts/deploy/bin'; |
---|
4 | use onserver; |
---|
5 | |
---|
6 | setup(); |
---|
7 | |
---|
8 | undef $/; |
---|
9 | open(FILE, "contemp.php"); |
---|
10 | my $a = <FILE>; |
---|
11 | close(FILE); |
---|
12 | $a =~ s/adminpass/$admin_password/g; |
---|
13 | $a =~ s/\$phpicalendar_publishing/\/\/ WARNING: The scripts.mit.edu maintainers have had to disable this feature on scripts.mit.edu because it contains a serious security vulnerability that has not been addressed by the software\'s authors. Please do not try to enable this feature\n\$phpicalendar_publishing/; |
---|
14 | open(FILE, ">config.inc.php"); |
---|
15 | print FILE $a; |
---|
16 | close(FILE); |
---|
17 | |
---|
18 | #`cp /mit/scripts/deploy/phpical/MIT\ Academic\ Calendar.ics calendars/`; |
---|
19 | |
---|
20 | `rm -f contemp.php`; |
---|
21 | `rm -f calendars/publish.ical.php`; |
---|
22 | |
---|
23 | print <<END; |
---|
24 | Your $sname Admin Panel is at |
---|
25 | http://$server/~$USER/$addrend/admin |
---|
26 | You can use this admin panel to upload calendars for display. |
---|
27 | END |
---|
28 | press_enter(); |
---|
Note: See
TracBrowser
for help on using the repository browser.