diff options
author | alecpl <alec@alec.pl> | 2009-07-22 09:15:36 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-07-22 09:15:36 +0000 |
commit | 564a2ba793b8d98abc6b7387f9fe1db869fce1b6 (patch) | |
tree | 90b083ec6a3f901eab5a81910c9ee713b5179fdd /index.php | |
parent | c98c82ef6301582bd441571da4e72f7cf51a48c4 (diff) |
- Help plugin
- support 'dummy' task (for plugins)
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -222,7 +222,8 @@ $action_map = array( ); // include task specific functions -include_once 'program/steps/'.$RCMAIL->task.'/func.inc'; +if (is_file($incfile = 'program/steps/'.$RCMAIL->task.'/func.inc')) + include_once($incfile); // allow 5 "redirects" to another action $redirects = 0; $incstep = null; @@ -236,7 +237,7 @@ while ($redirects < 5) { break; } // try to include the step file - else if (is_file(($incfile = 'program/steps/'.$RCMAIL->task.'/'.$stepfile))) { + else if (is_file($incfile = 'program/steps/'.$RCMAIL->task.'/'.$stepfile)) { include($incfile); $redirects++; } |