diff options
| author | alecpl <alec@alec.pl> | 2009-06-01 08:20:10 +0000 |
|---|---|---|
| committer | alecpl <alec@alec.pl> | 2009-06-01 08:20:10 +0000 |
| commit | 0ce119869d77215665be6850099cc229b5720963 (patch) | |
| tree | 3f102092e5c825ee4da5c3f195d06a747ee9f168 /index.php | |
| parent | 977078372e5183cfc0f0175a211b34e8c6b53583 (diff) | |
- use preg functions instead of ereg functions
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -221,7 +221,7 @@ while ($redirects < 5) { $action_map[$RCMAIL->task][$RCMAIL->action] : strtr($RCMAIL->action, '-', '_') . '.inc'; // execute a plugin action - if (eregi('^plugin.', $RCMAIL->action)) { + if (preg_match('/^plugin\./', $RCMAIL->action)) { $RCMAIL->plugins->exec_action($RCMAIL->action); break; } |
