diff --git a/agc_2-X/trunk/www/VERM/VERM_AREA_rpt.inc b/agc_2-X/trunk/www/VERM/VERM_AREA_rpt.inc index cad2507e..0595afd5 100644 --- a/agc_2-X/trunk/www/VERM/VERM_AREA_rpt.inc +++ b/agc_2-X/trunk/www/VERM/VERM_AREA_rpt.inc @@ -175,7 +175,7 @@ foreach ($answered_array as $prefix => $data) $CSV_output["answered_area"].="\"".$prefix."\","; $CSV_output["answered_area"].="\"".$data["calls"]."\","; $CSV_output["answered_area"].="\"".$call_time."\","; - $CSV_output["answered_area"].="\"".$average_time."\","; + $CSV_output["answered_area"].="\"".$average_time_str."\","; $CSV_output["answered_area"].="\"".$average_wait_time."\""; $CSV_output["answered_area"].="\n"; @@ -211,7 +211,7 @@ foreach ($unanswered_array as $prefix => $data) $call_time=($data["call_time"]>=3600 ? intval(floor($data["call_time"]/3600)).date(":i:s", $data["call_time"]) : intval(date("i", $data["call_time"])).":".date("s", $data["call_time"])); $average_position=sprintf("%.1f", ($data["position"]/$data["calls"])); - $average_time=($average_time>=3600 ? intval(floor($average_time/3600)).date(":i:s", $average_time) : intval(date("i", $average_time)).":".date("s", $average_time)); + # $average_time=($average_time>=3600 ? intval(floor($average_time/3600)).date(":i:s", $average_time) : intval(date("i", $average_time)).":".date("s", $average_time)); $average_wait_time=round($data["wait_time"]/$data["calls"]); $average_wait_time=($average_wait_time>=3600 ? intval(floor($average_wait_time/3600)).date(":i:s", $average_wait_time) : intval(date("i", $average_wait_time)).":".date("s", $average_wait_time)); diff --git a/agc_2-X/trunk/www/VERM/VERM_DAY_rpt.inc b/agc_2-X/trunk/www/VERM/VERM_DAY_rpt.inc index 4f493bf8..c592a6e5 100644 --- a/agc_2-X/trunk/www/VERM/VERM_DAY_rpt.inc +++ b/agc_2-X/trunk/www/VERM/VERM_DAY_rpt.inc @@ -273,7 +273,7 @@ $CSV_output["answered_call_distribution"]="\""._QXZ("Day")."\",\""._QXZ("Num")." $max_avg_call_length=0; foreach ($calls_array as $call_date_key => $call_date_data) # Use calls array here to iterate through all dates that have calls { - $avg_call_length=round($answered_calls_array["$call_date_key"]["total_length"]/($answered_calls_array["$call_date_key"]["inbound"]+$answered_calls_array["$call_date_key"]["outbound"])); + $avg_call_length=round(MathZDC($answered_calls_array["$call_date_key"]["total_length"], ($answered_calls_array["$call_date_key"]["inbound"]+$answered_calls_array["$call_date_key"]["outbound"]))); $answered_calls_array["$call_date_key"]["avg_call_length"]=$avg_call_length+0; if ($max_avg_call_length<$avg_call_length) {$max_avg_call_length=$avg_call_length;} } @@ -336,7 +336,7 @@ $CSV_output["answered_call_wait_time"]="\""._QXZ("Day")."\",\""._QXZ("Num")."\", $max_avg_wait_time=0; foreach ($calls_array as $call_date_key => $call_date_data) { - $avg_wait_time=round($answered_calls_array["$call_date_key"]["total_wait"]/($answered_calls_array["$call_date_key"]["inbound"]+$answered_calls_array["$call_date_key"]["outbound"])); + $avg_wait_time=round(MathZDC($answered_calls_array["$call_date_key"]["total_wait"], ($answered_calls_array["$call_date_key"]["inbound"]+$answered_calls_array["$call_date_key"]["outbound"]))); $answered_calls_array["$call_date_key"]["avg_wait_time"]=$avg_wait_time+0; if ($max_avg_wait_time<$avg_wait_time) {$max_avg_wait_time=$avg_wait_time;} } diff --git a/agc_2-X/trunk/www/VERM/VERM_wallboards.php b/agc_2-X/trunk/www/VERM/VERM_wallboards.php index 797fd3a2..7d5b0fb5 100644 --- a/agc_2-X/trunk/www/VERM/VERM_wallboards.php +++ b/agc_2-X/trunk/www/VERM/VERM_wallboards.php @@ -232,11 +232,13 @@ if ($vicidial_queue_group) $vqg_row=mysqli_fetch_array($vqg_rslt); $queue_group_name=$vqg_row["queue_group_name"]; $included_campaigns=trim(preg_replace('/\s\-$/', '', $vqg_row["included_campaigns"])); - $included_campaigns_array=sort(explode(" ", $included_campaigns)); + $included_campaigns_array=explode(" ", $included_campaigns); + sort($included_campaigns_array); $included_campaigns_ct=count($included_campaigns_array); $included_campaigns_clause="and campaign_id in ('".preg_replace('/\s/', "', '", $included_campaigns)."')"; $included_inbound_groups=trim(preg_replace('/\s\-$/', '', $vqg_row["included_inbound_groups"])); - $included_inbound_groups_array=sort(explode(" ", $included_inbound_groups)); + $included_inbound_groups_array=explode(" ", $included_inbound_groups); + sort($included_inbound_groups_array); $included_inbound_groups_ct=count($included_inbound_groups_array); $included_inbound_groups_clause="and group_id in ('".preg_replace('/\s/', "', '", $included_inbound_groups)."')"; $where_included_inbound_groups_clause="where group_id in ('".preg_replace('/\s/', "', '", $included_inbound_groups)."')"; diff --git a/agc_2-X/trunk/www/agc/DQ_dispo.php b/agc_2-X/trunk/www/agc/DQ_dispo.php index 8a1d9a9b..de329ebc 100644 --- a/agc_2-X/trunk/www/agc/DQ_dispo.php +++ b/agc_2-X/trunk/www/agc/DQ_dispo.php @@ -78,7 +78,7 @@ $pass=preg_replace("/\'|\"|\\\\|;| /","",$pass); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/abandon_check_queue.php b/agc_2-X/trunk/www/agc/abandon_check_queue.php index b04cebf0..17e99577 100644 --- a/agc_2-X/trunk/www/agc/abandon_check_queue.php +++ b/agc_2-X/trunk/www/agc/abandon_check_queue.php @@ -81,7 +81,7 @@ $pass=preg_replace("/\'|\"|\\\\|;| /","",$pass); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/active_list_refresh.php b/agc_2-X/trunk/www/agc/active_list_refresh.php index 1187df7d..3ce3f3de 100644 --- a/agc_2-X/trunk/www/agc/active_list_refresh.php +++ b/agc_2-X/trunk/www/agc/active_list_refresh.php @@ -124,7 +124,7 @@ if (!isset($query_date)) {$query_date = $NOW_DATE;} # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } ############################################# diff --git a/agc_2-X/trunk/www/agc/agc_agent_manager_chat_interface.php b/agc_2-X/trunk/www/agc/agc_agent_manager_chat_interface.php index 13576030..ffbbc031 100644 --- a/agc_2-X/trunk/www/agc/agc_agent_manager_chat_interface.php +++ b/agc_2-X/trunk/www/agc/agc_agent_manager_chat_interface.php @@ -92,7 +92,7 @@ else # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } $manager_chat_refresh_milliseconds = ($manager_chat_refresh_seconds ? $manager_chat_refresh_seconds*1000 : 1000); diff --git a/agc_2-X/trunk/www/agc/api.php b/agc_2-X/trunk/www/agc/api.php index a4f93943..e68b19f8 100644 --- a/agc_2-X/trunk/www/agc/api.php +++ b/agc_2-X/trunk/www/agc/api.php @@ -306,7 +306,7 @@ $DB=preg_replace("/[^0-9a-zA-Z]/","",$DB); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/astguiclient.php b/agc_2-X/trunk/www/agc/astguiclient.php index 92961399..b7bce6c8 100644 --- a/agc_2-X/trunk/www/agc/astguiclient.php +++ b/agc_2-X/trunk/www/agc/astguiclient.php @@ -123,7 +123,7 @@ $relogin=preg_replace("/[^-_0-9a-zA-Z]/","",$relogin); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } if ($astguiclient_disabled > 0) diff --git a/agc_2-X/trunk/www/agc/call_log_display.php b/agc_2-X/trunk/www/agc/call_log_display.php index 8c821629..a2b8008f 100644 --- a/agc_2-X/trunk/www/agc/call_log_display.php +++ b/agc_2-X/trunk/www/agc/call_log_display.php @@ -90,7 +90,7 @@ if (!isset($query_date)) {$query_date = $NOW_DATE;} # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } ############################################# diff --git a/agc_2-X/trunk/www/agc/conf_exten_check.php b/agc_2-X/trunk/www/agc/conf_exten_check.php index 5503c70d..09d27f55 100644 --- a/agc_2-X/trunk/www/agc/conf_exten_check.php +++ b/agc_2-X/trunk/www/agc/conf_exten_check.php @@ -180,7 +180,7 @@ if ($bcrypt == 'OFF') {$bcrypt=0;} # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/deactivate_lead.php b/agc_2-X/trunk/www/agc/deactivate_lead.php index 00fd25bc..277ee6d4 100644 --- a/agc_2-X/trunk/www/agc/deactivate_lead.php +++ b/agc_2-X/trunk/www/agc/deactivate_lead.php @@ -89,7 +89,7 @@ $pass = preg_replace("/\'|\"|\\\\|;| /","",$pass); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/dispo_add_FPG.php b/agc_2-X/trunk/www/agc/dispo_add_FPG.php index 0bd88f68..5d7c33c2 100644 --- a/agc_2-X/trunk/www/agc/dispo_add_FPG.php +++ b/agc_2-X/trunk/www/agc/dispo_add_FPG.php @@ -78,7 +78,7 @@ $pass=preg_replace("/\'|\"|\\\\|;| /","",$pass); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/dispo_change_status.php b/agc_2-X/trunk/www/agc/dispo_change_status.php index 5f76b38c..644c9dfe 100644 --- a/agc_2-X/trunk/www/agc/dispo_change_status.php +++ b/agc_2-X/trunk/www/agc/dispo_change_status.php @@ -96,7 +96,7 @@ if ( ($in_out_search != 'IN') and ($in_out_search != 'OUT') and ($in_out_search # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/dispo_list_quota.php b/agc_2-X/trunk/www/agc/dispo_list_quota.php index 0eacbac4..e7ddad5f 100644 --- a/agc_2-X/trunk/www/agc/dispo_list_quota.php +++ b/agc_2-X/trunk/www/agc/dispo_list_quota.php @@ -92,7 +92,7 @@ if ( ($in_out_search != 'IN') and ($in_out_search != 'OUT') and ($in_out_search # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/dispo_move_list.php b/agc_2-X/trunk/www/agc/dispo_move_list.php index 6349cf8e..debf1b5d 100644 --- a/agc_2-X/trunk/www/agc/dispo_move_list.php +++ b/agc_2-X/trunk/www/agc/dispo_move_list.php @@ -149,7 +149,7 @@ $pass=preg_replace("/\'|\"|\\\\|;| /","",$pass); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/dispo_reset_lead.php b/agc_2-X/trunk/www/agc/dispo_reset_lead.php index 92390729..237f2420 100644 --- a/agc_2-X/trunk/www/agc/dispo_reset_lead.php +++ b/agc_2-X/trunk/www/agc/dispo_reset_lead.php @@ -94,7 +94,7 @@ $pass=preg_replace("/\'|\"|\\\\|;| /","",$pass); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/dispo_send_email.php b/agc_2-X/trunk/www/agc/dispo_send_email.php index de03539f..20855630 100644 --- a/agc_2-X/trunk/www/agc/dispo_send_email.php +++ b/agc_2-X/trunk/www/agc/dispo_send_email.php @@ -184,7 +184,7 @@ $pass=preg_replace("/\'|\"|\\\\|;| |\|/","",$pass); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/inbound_popup.php b/agc_2-X/trunk/www/agc/inbound_popup.php index 117f104d..8ccb2078 100644 --- a/agc_2-X/trunk/www/agc/inbound_popup.php +++ b/agc_2-X/trunk/www/agc/inbound_popup.php @@ -96,7 +96,7 @@ if ( (preg_match("/^Zap/i",$channel)) and (!preg_match("/-/i",$channel)) ) {$cha # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } ############################################# diff --git a/agc_2-X/trunk/www/agc/live_exten_check.php b/agc_2-X/trunk/www/agc/live_exten_check.php index 98a7c984..6af24114 100644 --- a/agc_2-X/trunk/www/agc/live_exten_check.php +++ b/agc_2-X/trunk/www/agc/live_exten_check.php @@ -91,7 +91,7 @@ if (!isset($query_date)) {$query_date = $NOW_DATE;} # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } ############################################# diff --git a/agc_2-X/trunk/www/agc/manager_send.php b/agc_2-X/trunk/www/agc/manager_send.php index f4bb4aad..9dfd172c 100644 --- a/agc_2-X/trunk/www/agc/manager_send.php +++ b/agc_2-X/trunk/www/agc/manager_send.php @@ -275,7 +275,7 @@ if (isset($_GET["group_id"])) {$group_id=$_GET["group_id"];} # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } $DB=preg_replace("/[^0-9a-zA-Z]/","",$DB); diff --git a/agc_2-X/trunk/www/agc/park_calls_display.php b/agc_2-X/trunk/www/agc/park_calls_display.php index 97f4289f..796c8ddd 100644 --- a/agc_2-X/trunk/www/agc/park_calls_display.php +++ b/agc_2-X/trunk/www/agc/park_calls_display.php @@ -79,7 +79,7 @@ if (!isset($query_date)) {$query_date = $NOW_DATE;} # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } ############################################# diff --git a/agc_2-X/trunk/www/agc/phone_only.php b/agc_2-X/trunk/www/agc/phone_only.php index 5eea366d..20ea6e9f 100644 --- a/agc_2-X/trunk/www/agc/phone_only.php +++ b/agc_2-X/trunk/www/agc/phone_only.php @@ -176,7 +176,7 @@ $SIDEBAR_COLOR = '#F6F6F6'; # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } $US='_'; diff --git a/agc_2-X/trunk/www/agc/timeclock.php b/agc_2-X/trunk/www/agc/timeclock.php index 1f111150..ce8e6a8d 100644 --- a/agc_2-X/trunk/www/agc/timeclock.php +++ b/agc_2-X/trunk/www/agc/timeclock.php @@ -104,7 +104,7 @@ require_once("functions.php"); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } ############################################# diff --git a/agc_2-X/trunk/www/agc/update_cf_ivr.php b/agc_2-X/trunk/www/agc/update_cf_ivr.php index a63fac3c..a2905e24 100644 --- a/agc_2-X/trunk/www/agc/update_cf_ivr.php +++ b/agc_2-X/trunk/www/agc/update_cf_ivr.php @@ -118,7 +118,7 @@ else # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } if ($DB>0) {echo "$lead_id|$caller_id|$list_id|$field|$value|$user|$DB|$log_to_file|\n";} diff --git a/agc_2-X/trunk/www/agc/vdc_chat_display.php b/agc_2-X/trunk/www/agc/vdc_chat_display.php index bb3b5782..09b01ff9 100644 --- a/agc_2-X/trunk/www/agc/vdc_chat_display.php +++ b/agc_2-X/trunk/www/agc/vdc_chat_display.php @@ -102,7 +102,7 @@ if ($SSallow_web_debug < 1) {$DB=0;} # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/vdc_db_query.php b/agc_2-X/trunk/www/agc/vdc_db_query.php index a4f8a8c9..91d8e84b 100644 --- a/agc_2-X/trunk/www/agc/vdc_db_query.php +++ b/agc_2-X/trunk/www/agc/vdc_db_query.php @@ -885,7 +885,7 @@ $allow_vlc_lookup = '1'; # allow lead lookup by vendor_lead_code # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/vdc_email_display.php b/agc_2-X/trunk/www/agc/vdc_email_display.php index c64cf2fc..d718a6fe 100644 --- a/agc_2-X/trunk/www/agc/vdc_email_display.php +++ b/agc_2-X/trunk/www/agc/vdc_email_display.php @@ -74,7 +74,7 @@ $PHP_SELF = preg_replace('/\.php.*/i','.php',$PHP_SELF); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } $attachment1=$_FILES["attachment1"]; diff --git a/agc_2-X/trunk/www/agc/vdc_form_display.php b/agc_2-X/trunk/www/agc/vdc_form_display.php index 83904db4..17da534d 100644 --- a/agc_2-X/trunk/www/agc/vdc_form_display.php +++ b/agc_2-X/trunk/www/agc/vdc_form_display.php @@ -253,7 +253,7 @@ if ($bcrypt == 'OFF') # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/vdc_script_display.php b/agc_2-X/trunk/www/agc/vdc_script_display.php index 7068dac4..e12392f0 100644 --- a/agc_2-X/trunk/www/agc/vdc_script_display.php +++ b/agc_2-X/trunk/www/agc/vdc_script_display.php @@ -300,7 +300,7 @@ $DB=preg_replace("/[^0-9a-zA-Z]/","",$DB); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/vdc_script_dispo_example.php b/agc_2-X/trunk/www/agc/vdc_script_dispo_example.php index c017474f..c0adebd6 100644 --- a/agc_2-X/trunk/www/agc/vdc_script_dispo_example.php +++ b/agc_2-X/trunk/www/agc/vdc_script_dispo_example.php @@ -242,7 +242,7 @@ $DB=preg_replace("/[^0-9a-zA-Z]/","",$DB); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/vdc_script_notes.php b/agc_2-X/trunk/www/agc/vdc_script_notes.php index 78cac0de..a1a102a4 100644 --- a/agc_2-X/trunk/www/agc/vdc_script_notes.php +++ b/agc_2-X/trunk/www/agc/vdc_script_notes.php @@ -210,7 +210,7 @@ $DB=preg_replace("/[^0-9a-zA-Z]/","",$DB); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/vdc_soundboard_display.php b/agc_2-X/trunk/www/agc/vdc_soundboard_display.php index dc4bf543..e43e485a 100644 --- a/agc_2-X/trunk/www/agc/vdc_soundboard_display.php +++ b/agc_2-X/trunk/www/agc/vdc_soundboard_display.php @@ -61,7 +61,7 @@ if ($bcrypt == 'OFF') # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/agc/vicidial-grey.php b/agc_2-X/trunk/www/agc/vicidial-grey.php index c73b052f..7dd7b731 100644 --- a/agc_2-X/trunk/www/agc/vicidial-grey.php +++ b/agc_2-X/trunk/www/agc/vicidial-grey.php @@ -759,7 +759,7 @@ $win_valid_name = 'subwindow_launch'; # only window name to allow if validatio # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } $hide_gender=0; diff --git a/agc_2-X/trunk/www/agc/vicidial.php b/agc_2-X/trunk/www/agc/vicidial.php index 298de376..3ee3df70 100644 --- a/agc_2-X/trunk/www/agc/vicidial.php +++ b/agc_2-X/trunk/www/agc/vicidial.php @@ -1073,7 +1073,7 @@ $INSERT_agent_events = ''; # inserted within the agent_events function # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } ##### BEGIN Define colors and logo ##### diff --git a/agc_2-X/trunk/www/agc/voicemail_check.php b/agc_2-X/trunk/www/agc/voicemail_check.php index c0375bc2..73681cdb 100644 --- a/agc_2-X/trunk/www/agc/voicemail_check.php +++ b/agc_2-X/trunk/www/agc/voicemail_check.php @@ -74,7 +74,7 @@ if (!isset($query_date)) {$query_date = $NOW_DATE;} # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } ############################################# diff --git a/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php b/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php index f3e041d1..93b620e1 100644 --- a/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php +++ b/agc_2-X/trunk/www/vicidial/AST_CLOSERstats.php @@ -84,7 +84,7 @@ $IR_SLA_all_statuses=0; # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } $PHP_AUTH_USER=$_SERVER['PHP_AUTH_USER']; diff --git a/agc_2-X/trunk/www/vicidial/AST_CLOSERstats_v2.php b/agc_2-X/trunk/www/vicidial/AST_CLOSERstats_v2.php index 29970113..e981d7f0 100644 --- a/agc_2-X/trunk/www/vicidial/AST_CLOSERstats_v2.php +++ b/agc_2-X/trunk/www/vicidial/AST_CLOSERstats_v2.php @@ -89,7 +89,7 @@ $IR_SLA_all_statuses=0; # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } $PHP_AUTH_USER=$_SERVER['PHP_AUTH_USER']; diff --git a/agc_2-X/trunk/www/vicidial/dygraph_functions.php b/agc_2-X/trunk/www/vicidial/dygraph_functions.php index 4fc41ce3..04abfad9 100644 --- a/agc_2-X/trunk/www/vicidial/dygraph_functions.php +++ b/agc_2-X/trunk/www/vicidial/dygraph_functions.php @@ -185,7 +185,7 @@ $regexLOGadmin_viewable_groups = " $LOGadmin_viewable_groups "; # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } header ("Content-type: text/html; charset=utf-8"); diff --git a/agc_2-X/trunk/www/vicidial/welcome.php b/agc_2-X/trunk/www/vicidial/welcome.php index 62554332..4c242fd3 100644 --- a/agc_2-X/trunk/www/vicidial/welcome.php +++ b/agc_2-X/trunk/www/vicidial/welcome.php @@ -19,7 +19,7 @@ require("functions.php"); # see the options-example.php file for more information if (file_exists('options.php')) { - require_once('options.php'); + require('options.php'); } #############################################