diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-21 16:54:19 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-21 16:54:19 +0000 |
commit | 530b7e94c5e10eb1b9aa2ea488825265b685651e (patch) | |
tree | e679fd1af844e3b80d36923bde481873aee0e56d /phpBB/cron.php | |
parent | 2ddac1037550a12e6a49dd7d78f7884ce584eedc (diff) | |
download | forums-530b7e94c5e10eb1b9aa2ea488825265b685651e.tar forums-530b7e94c5e10eb1b9aa2ea488825265b685651e.tar.gz forums-530b7e94c5e10eb1b9aa2ea488825265b685651e.tar.bz2 forums-530b7e94c5e10eb1b9aa2ea488825265b685651e.tar.xz forums-530b7e94c5e10eb1b9aa2ea488825265b685651e.zip |
- fixing a few smaller bugs/glitches
- init user session in cron.php (else it can produce errors if functions expect the user object being set)
- fix sql escaping for mssql/mssql_odbc
git-svn-id: file:///svn/phpbb/trunk@5957 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/cron.php')
-rw-r--r-- | phpBB/cron.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/cron.php b/phpBB/cron.php index c40b0cdac5..8591803f30 100644 --- a/phpBB/cron.php +++ b/phpBB/cron.php @@ -16,6 +16,9 @@ $phpbb_root_path = './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); +$user->session_begin(); +$auth->acl($user->data); + $cron_type = request_var('cron_type', ''); $use_shutdown_function = (@function_exists('register_shutdown_function')) ? true : false; |