diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2003-05-29 14:29:59 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2003-05-29 14:29:59 +0000 |
| commit | d4cbbb1055e687e345c7cf00c69b94c206c2b69e (patch) | |
| tree | 3c5097962c58fb9457d17559c13a8be72b2c0dd9 /phpBB/index.php | |
| parent | 65b38b317ffaf7e32178377d6cc64a22e7c46a1c (diff) | |
| download | forums-d4cbbb1055e687e345c7cf00c69b94c206c2b69e.tar forums-d4cbbb1055e687e345c7cf00c69b94c206c2b69e.tar.gz forums-d4cbbb1055e687e345c7cf00c69b94c206c2b69e.tar.bz2 forums-d4cbbb1055e687e345c7cf00c69b94c206c2b69e.tar.xz forums-d4cbbb1055e687e345c7cf00c69b94c206c2b69e.zip | |
added email queue + small changes (do not hit me for the mysql_basic change :D)
git-svn-id: file:///svn/phpbb/trunk@4067 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/index.php')
| -rw-r--r-- | phpBB/index.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 725ebaa563..6947b2d677 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -33,7 +33,6 @@ $user->start(); $user->setup(); $auth->acl($user->data); - // Handle marking posts if ($mark_read == 'forums') { @@ -48,6 +47,15 @@ if ($mark_read == 'forums') trigger_error($message); } +// Handle queue - to be placed into common.php ? I think to only check and process at the index is enough. ;) +// Do not initiate the object, we do not need to do this... +if (file_exists($phpbb_root_path . 'cache/queue.' . $phpEx)) +{ + include($phpbb_root_path . 'includes/emailer.'.$phpEx); + $queue = new Queue(); + $queue->process(); +} + // Set some stats, get posts count from forums data if we... hum... retrieve all forums data $total_posts = $config['num_posts']; $total_topics = $config['num_topics']; |
