- Timestamp:
- 10/17/07 23:39:27
(11 months ago)
- Author:
- rats
- Message:
* Updated fedora
* Fixed #783: added Makefile.gentoo
* Fixed #784: ispcp-setup fails with compilation errors
* Fixed #785: bad test into configs/init.d/Makefile
* Fixed #788: mistakes with the php4-fcgi-starter.tpl
* Updated PMA to 2.11.1.2 (#789)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r877 |
r878 |
|
| 2200 | 2200 | |
|---|
| 2201 | 2201 | return $rs if ($rs != 0); |
|---|
| 2202 | | |
|---|
| 2203 | | $starter_tpl = ''; |
|---|
| | 2202 | } |
|---|
| | 2203 | |
|---|
| | 2204 | if (!(-e "$starter_dir/$dmn_name/php4-fcgi-starter")) { |
|---|
| | 2205 | my $starter_tpl = undef; |
|---|
| | 2206 | my $cfg_dir = "$main::cfg{'CONF_DIR'}/fcgi/parts"; |
|---|
| 2204 | 2207 | |
|---|
| 2205 | 2208 | ($rs, $starter_tpl) = get_tpl($cfg_dir, 'php4-fcgi-starter.tpl'); |
|---|
| 2206 | 2209 | return $rs if ($rs != 0); |
|---|
| 2207 | 2210 | |
|---|
| 2208 | | %tag_hash = ( |
|---|
| | 2211 | my %tag_hash = ( |
|---|
| 2209 | 2212 | '{PHP_STARTER_DIR}' => $starter_dir, |
|---|
| 2210 | 2213 | '{PHP4_FASTCGI_BIN}' => $main::cfg{'PHP4_FASTCGI_BIN'}, |
|---|
| … | … | |
| 2437 | 2440 | |
|---|
| 2438 | 2441 | return $rs if ($rs != 0); |
|---|
| 2439 | | |
|---|
| 2440 | | $starter_tpl = ''; |
|---|
| | 2442 | } |
|---|
| | 2443 | if (!(-e "$starter_dir/$dmn_name/php4-fcgi-starter")) { |
|---|
| | 2444 | my $starter_tpl = undef; |
|---|
| | 2445 | my $cfg_dir = "$main::cfg{'CONF_DIR'}/fcgi/parts"; |
|---|
| 2441 | 2446 | |
|---|
| 2442 | 2447 | ($rs, $starter_tpl) = get_tpl($cfg_dir, 'php4-fcgi-starter.tpl'); |
|---|
| 2443 | 2448 | return $rs if ($rs != 0); |
|---|
| 2444 | 2449 | |
|---|
| 2445 | | %tag_hash = ( |
|---|
| | 2450 | my %tag_hash = ( |
|---|
| 2446 | 2451 | '{PHP_STARTER_DIR}' => $starter_dir, |
|---|
| 2447 | 2452 | '{PHP4_FASTCGI_BIN}' => $main::cfg{'PHP4_FASTCGI_BIN'}, |
|---|
| … | … | |
| 2454 | 2459 | ($rs, $rdata) = store_file( |
|---|
| 2455 | 2460 | "$starter_dir/$dmn_name/php4-fcgi-starter", |
|---|
| 2456 | | $starter_tpl, |
|---|
| | 2461 | $$cfg, |
|---|
| 2457 | 2462 | $sys_user, |
|---|
| 2458 | 2463 | $sys_group, |
|---|
| … | … | |
| 3990 | 3995 | my ($dmn_data) = @_; |
|---|
| 3991 | 3996 | |
|---|
| 3992 | | my ($rs, $awstats_b, $awstats_entry, $awstats_e) = (undef, undef, undef); |
|---|
| | 3997 | my ($rs, $awstats_b, $awstats_entry, $awstats_e) = (undef, undef, undef, undef); |
|---|
| 3993 | 3998 | |
|---|
| 3994 | 3999 | push_el(\@main::el, 'dmn_add_awstats_cron()', 'Starting...'); |
|---|
| … | … | |
| 4143 | 4148 | my ($dmn_data) = @_; |
|---|
| 4144 | 4149 | |
|---|
| 4145 | | my ($rs, $rdata, $awstats_b, $awstats_entry, $awstats_e) = (undef, undef, undef, undef, undef); |
|---|
| | 4150 | my ($rs, $awstats_b, $awstats_e) = (undef, '', '', ''); |
|---|
| 4146 | 4151 | |
|---|
| 4147 | 4152 | push_el(\@main::el, 'dmn_del_awstats_cron()', 'Starting...'); |
|---|
| … | … | |
| 4177 | 4182 | $rs, |
|---|
| 4178 | 4183 | $dmn_awstats_b, |
|---|
| 4179 | | $dmn_awstats_entry, |
|---|
| 4180 | 4184 | $dmn_awstats_e |
|---|
| 4181 | 4185 | ) = get_tpl( |
|---|
| 4182 | 4186 | $tpl_dir, |
|---|
| 4183 | 4187 | 'dmn_awstats_b.tpl', |
|---|
| 4184 | | 'dmn_awstats_entry.tpl', |
|---|
| 4185 | 4188 | 'dmn_awstats_e.tpl' |
|---|
| 4186 | 4189 | ); |
|---|
| … | … | |
| 4192 | 4195 | # |
|---|
| 4193 | 4196 | |
|---|
| 4194 | | my %tag_hash = ( |
|---|
| 4195 | | '{DMN_NAME}' => $dmn_name, |
|---|
| 4196 | | '{MINUTE}' => $cronjob_minute, |
|---|
| 4197 | | '{HOUR}' => $cronjob_hour |
|---|
| 4198 | | ); |
|---|
| | 4197 | my %tag_hash = ( '{DMN_NAME}' => $dmn_name ); |
|---|
| 4199 | 4198 | |
|---|
| 4200 | 4199 | ( |
|---|
| … | … | |
| 4217 | 4216 | # |
|---|
| 4218 | 4217 | |
|---|
| 4219 | | my ($sys, $working) = (undef, undef); |
|---|
| | 4218 | my ($sys, $working, $rdata) = (undef, undef, undef); |
|---|
| 4220 | 4219 | |
|---|
| 4221 | 4220 | ($rs, $working) = get_file($working_cfg); |
|---|
|