From 5a26ff84bb7de9bdf1eb80783e24dab3801b63fd Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 19 Oct 2006 18:56:12 +0000 Subject: [PATCH] more fixes for AST_server_performance script git-svn-id: svn://192.168.202.10@363 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/vicidial/AST_server_performance.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/agc_2-X/trunk/www/vicidial/AST_server_performance.php b/agc_2-X/trunk/www/vicidial/AST_server_performance.php index 612a9772..f3e5b9fb 100644 --- a/agc_2-X/trunk/www/vicidial/AST_server_performance.php +++ b/agc_2-X/trunk/www/vicidial/AST_server_performance.php @@ -43,7 +43,8 @@ $PHP_AUTH_PW = ereg_replace("[^0-9a-zA-Z]","",$PHP_AUTH_PW); } # path from root to where ploticus files will be stored -$DOCroot = "$WeBServeRRooT/vicidial/ploticus/"; +$PLOTroot = "vicidial/ploticus"; +$DOCroot = "$WeBServeRRooT/$PLOTroot/"; $NOW_DATE = date("Y-m-d"); $NOW_TIME = date("Y-m-d H:i:s"); @@ -115,14 +116,14 @@ if ($shift == 'AM') $query_date_BEGIN = "$query_date 08:45:00"; $query_date_END = "$query_date 15:30:00"; $time_BEGIN = "08:45:00"; - $time_END = "15:30:00"; + $time_END = "15:55:00"; } if ($shift == 'PM') { $query_date_BEGIN = "$query_date 15:30:00"; $query_date_END = "$query_date 23:15:00"; $time_BEGIN = "15:30:00"; - $time_END = "23:30:00"; + $time_END = "23:55:00"; } echo "VICIDIAL: Server Performance $NOW_TIME\n"; @@ -296,7 +297,7 @@ sleep(1); echo "\n"; echo "\n"; -echo "\n"; +echo "\n"; echo "";