]>
Commit | Line | Data |
---|---|---|
eb770e14 IB |
1 | --- a/init.php 2014-06-16 14:21:06.995480038 +0200 |
2 | +++ b/init.php 2014-06-16 14:22:00.151027654 +0200 | |
3 | @@ -147,6 +147,9 @@ | |
4 | } | |
5 | } | |
6 | break; | |
7 | + case 'replace': | |
8 | + $article['content'] = preg_replace("/".$config['pattern']."/",$config['replacement'],$article['content']); | |
9 | + break; | |
10 | ||
11 | default: | |
12 | // unknown type or invalid config |