Skip to content

Commit

Permalink
php: turn off stdio from --enable-debug
Browse files Browse the repository at this point in the history
  • Loading branch information
adsr committed Apr 26, 2017
1 parent 2917636 commit bb44bc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/php/weechat-php.c
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])

php_embed_init (0, NULL);

PG(report_zend_debug) = 0; /* Turn off --enable-debug output */

plugin_script_init (weechat_php_plugin, argc, argv, &init);

plugin_script_display_short_list (weechat_php_plugin,
Expand Down

0 comments on commit bb44bc4

Please sign in to comment.