Changeset 6730
- Timestamp:
- 10/06/08 14:21:28 (2 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/centreon/www/include/nagiosStats/getStats.php
r6725 r6730 59 59 } 60 60 61 //require_once("@CENTREON_ETC@/centreon.conf.php"); 62 require_once "/etc/centreon/centreon.conf.php"; 61 require_once("@CENTREON_ETC@/centreon.conf.php"); 63 62 require_once "$centreon_path/www/class/centreonGMT.class.php"; 64 63 require_once "$centreon_path/www/DBconnect.php"; … … 196 195 * Add comment start and end time inf graph footer. 197 196 */ 197 198 198 $rrd_time = addslashes($CentreonGMT->getDate("Y\/m\/d G:i", $start, $gmt)); 199 199 $rrd_time = str_replace(":", "\:", $rrd_time); … … 220 220 */ 221 221 222 $command_line = "export TZ='CMT -6' ; ".$command_line;222 $command_line = "export TZ='CMT".$CentreonGMT->getMyGMTForRRD()."' ; ".$command_line; 223 223 224 224 $command_line = escape_command("$command_line");
