mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 06:00:30 -04:00
Fix configuration paths in CGIs and reports to include /usr/local/etc/rtg. Affects common.php, reports.pl, and 95.pl. This will fix the CGIs to almost work out of the box. Improve rtgtargmkr.pl to skip unresponsive routers rather than dying. Add USES=ssl PR: 217108 Submitted by: andrew.fengler@scaleengine.com Approved by: maintainer timeout (15 days)
16 lines
438 B
PHP
16 lines
438 B
PHP
--- etc/common.php.in.orig 2003-09-26 15:52:29 UTC
|
|
+++ etc/common.php.in
|
|
@@ -6,10 +6,13 @@
|
|
$pass="rtgdefault";
|
|
$db="rtg";
|
|
$refresh=300;
|
|
+
|
|
+ date_default_timezone_set ( 'UTC' );
|
|
|
|
/* Default locations to find RTG configuration file */
|
|
$configs[] = 'rtg.conf';
|
|
$configs[] = '@RTG_HOME@/etc/rtg.conf';
|
|
+ $configs[] = '%%PREFIX%%/etc/rtg/rtg.conf';
|
|
$configs[] = '/usr/local/rtg/etc/rtg.conf';
|
|
$configs[] = '/etc/rtg.conf';
|
|
|