comparison index.php @ 35:05c4c32948af

.hgignore: add vendor tree composer.json: new packages plugins/thunderbird_labels/thunderbird_labels.php: change hook and RFC822 use wrt whitelisting to avoid deprecated stuff index.php: commented debugging hooks others: new releases of vendor packages?
author Charlie Root
date Thu, 30 Aug 2018 16:21:59 -0400
parents 1e000243b222
children a36beb7d3ea2
comparison
equal deleted inserted replaced
34:50ac5484d514 35:05c4c32948af
302 // include action file only once (in case it don't exit) 302 // include action file only once (in case it don't exit)
303 include_once $incfile; 303 include_once $incfile;
304 $redirects++; 304 $redirects++;
305 } 305 }
306 else { 306 else {
307 #rcube::write_log('mail',$incfile." not found");
307 break; 308 break;
308 } 309 }
309 } 310 }
310 311
311 if ($RCMAIL->action == 'refresh') { 312 if ($RCMAIL->action == 'refresh') {
312 $RCMAIL->plugins->exec_hook('refresh', array('last' => intval(rcube_utils::get_input_value('_last', rcube_utils::INPUT_GPC)))); 313 $RCMAIL->plugins->exec_hook('refresh', array('last' => intval(rcube_utils::get_input_value('_last', rcube_utils::INPUT_GPC))));
313 } 314 }
314 315
316 #rcube::write_log('mail',"task: ".$RCMAIL->task." action: ".$RCMAIL->action);
315 // parse main template (default) 317 // parse main template (default)
316 $OUTPUT->send($RCMAIL->task); 318 $OUTPUT->send($RCMAIL->task);
317 319
318 // if we arrive here, something went wrong 320 // if we arrive here, something went wrong
319 rcmail::raise_error(array( 321 rcmail::raise_error(array(