From 0ce119869d77215665be6850099cc229b5720963 Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 1 Jun 2009 08:20:10 +0000 Subject: - use preg functions instead of ereg functions --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 0904f2be6..5d37a93e0 100644 --- a/index.php +++ b/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