summaryrefslogtreecommitdiff
path: root/net/rtg/files/patch-etc_common.php.in
blob: b06f25c12d10dd6e3d1c383d34f2a34389afc98a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- etc/common.php.in.orig	2003-09-26 15:52:29 UTC
+++ etc/common.php.in
@@ -1,4 +1,4 @@
-<?
+<?php
  /* Begin with reasonable defaults */
  $VERSION = "@VERSION@";
  $host="localhost";
@@ -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';