From 4e3a7d8f4c769a981423180d3843889aac02c530 Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 1 Jun 2009 08:20:10 +0000 Subject: - use preg functions instead of ereg functions git-svn-id: https://svn.roundcube.net/trunk@2588 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/index.php') 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; } -- cgit v1.2.3