Changeset 1213
- Timestamp:
- 06/14/08 23:45:09
(6 months ago)
- Author:
- rats
- Message:
updated update script
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1212 |
r1213 |
|
| 716 | 716 | my $dir = shift; |
|---|
| 717 | 717 | my ($cmd, $rs) = (undef, undef); |
|---|
| | 718 | my $sed = $main::cfg{'CMD_SED'}; |
|---|
| 718 | 719 | |
|---|
| 719 | 720 | if (opendir(DIRH, "$dir")) { |
|---|
| … | … | |
| 722 | 723 | next if ($_ eq "." || $_ eq ".."); |
|---|
| 723 | 724 | if (/$ARGV[0]/io) { |
|---|
| 724 | | my $sed = $main::cfg{'CMD_SED'}; |
|---|
| 725 | 725 | $cmd = "$sed -i -e 's~/phptmp\"~/phptmp/\"~' php.ini"; |
|---|
| 726 | 726 | $rs = sys_command($cmd); |
|---|
| … | … | |
| 920 | 920 | |
|---|
| 921 | 921 | # FastCGI-Security |
|---|
| 922 | | print STDOUT "\tYou can ignore this error: /bin/sed: can't read php.ini: No such file or directory"; |
|---|
| | 922 | print STDOUT "\tYou can ignore this error: /bin/sed: can't read php.ini: No such file or directory\n"; |
|---|
| 923 | 923 | search_and_replace("$main::cfg{'PHP_STARTER_DIR'}"); |
|---|
| 924 | 924 | |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>