1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 21:06:38 +02:00

script: add support of PHP scripts

This commit is contained in:
Sébastien Helleu
2017-09-03 14:56:08 +02:00
parent 20f47b9b41
commit 586d2a0745
3 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -46,9 +46,9 @@ WEECHAT_PLUGIN_PRIORITY(3000);
struct t_weechat_plugin *weechat_script_plugin = NULL;
char *script_language[SCRIPT_NUM_LANGUAGES] =
{ "guile", "lua", "perl", "python", "ruby", "tcl", "javascript" };
{ "guile", "lua", "perl", "python", "ruby", "tcl", "javascript", "php" };
char *script_extension[SCRIPT_NUM_LANGUAGES] =
{ "scm", "lua", "pl", "py", "rb", "tcl", "js" };
{ "scm", "lua", "pl", "py", "rb", "tcl", "js", "php" };
int script_plugin_loaded[SCRIPT_NUM_LANGUAGES];
struct t_hashtable *script_loaded = NULL;