diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-01 08:20:10 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-06-01 08:20:10 +0000 |
| commit | 4e3a7d8f4c769a981423180d3843889aac02c530 (patch) | |
| tree | 9ed334901a53dff65b6b723dff1cc78a83e0025f /roundcubemail/index.php | |
| parent | a4f79cec4149dd806f0cb93368383fc3d65dff4c (diff) | |
- use preg functions instead of ereg functions
git-svn-id: https://svn.roundcube.net/trunk@2588 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
| -rw-r--r-- | roundcubemail/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php index 0904f2be6..5d37a93e0 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -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; } |
