|
160 | 160 | $time_start = $convoArr['time_start']; |
161 | 161 | $time_end = microtime(true); |
162 | 162 | $time = round(($time_end - $time_start) * 1000,4); |
163 | | - runDebug(__FILE__, __FUNCTION__, __LINE__, "Conversation Ending. Elapsed time: $time milliseconds.", 0); |
164 | | - runDebug(__FILE__, __FUNCTION__, __LINE__, "FINAL CONVO ARRAY",4); |
165 | | - $final_convoArr = $convoArr; |
166 | | - unset($final_convoArr['nounList']); |
167 | | - runDebug(__FILE__, __FUNCTION__, __LINE__, print_r($final_convoArr,true), 4); |
168 | 163 | unset($convoArr['nounList']); |
| 164 | + $final_convoArr = $convoArr; |
169 | 165 | } |
170 | 166 | else |
171 | 167 | { |
172 | 168 | runDebug(__FILE__, __FUNCTION__, __LINE__, "Conversation intialised waiting user", 2); |
173 | 169 | } |
174 | | - #if ($display == '') $display = $convoArr['send_to_user']; |
175 | 170 | runDebug(__FILE__, __FUNCTION__, __LINE__, "Closing Database", 2); |
176 | 171 | db_close($con); |
177 | | - //save_file(_DEBUG_PATH_ . 'function_list.txt', print_r(get_defined_functions()['user'], true)); |
178 | 172 | display_conversation($convoArr); |
| 173 | + runDebug(__FILE__, __FUNCTION__, __LINE__, "Conversation Ending. Elapsed time: $time milliseconds.", 0); |
179 | 174 | $convoArr = handleDebug($convoArr); // Make sure this is the last line in the file, so that all debug entries are captured. |
0 commit comments