Revision 3eb4f771
Added by Scott Ullrich about 20 years ago
etc/inc/filter.inc | ||
---|---|---|
169 | 169 |
} |
170 | 170 |
} |
171 | 171 |
} |
172 |
|
|
173 |
/* we need a way to let a user run a shell cmd after each |
|
174 |
filter_configure() call. run this xml command after |
|
175 |
each change. |
|
176 |
*/ |
|
177 |
if($config['system']['afterfilterchangeshellcmd'] <> "") { |
|
178 |
mwexec($config['system']['afterfilterchangeshellcmd']); |
|
179 |
} |
|
180 |
|
|
172 | 181 |
return 0; |
173 | 182 |
} |
174 | 183 |
|
Also available in: Unified diff
Add system->afterfilterchangeshellcmd xml tag which will be exec'd after
each filter_configure() call. This is useful for fixing stuff like:
http://www.m0n0.ch/wall/list/?action=show_msg&actionargs%5B%5D=172&actionargs%5B%5D=46