mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/system-cron] Use interface_exists to check for interface existence.
PHPBB3-9596
This commit is contained in:
parent
451198b467
commit
562bbc885e
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ if (!defined('IN_PHPBB'))
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!class_exists('cron_task'))
|
if (!interface_exists('cron_task'))
|
||||||
{
|
{
|
||||||
include($phpbb_root_path . 'includes/cron/cron_task.' . $phpEx);
|
include($phpbb_root_path . 'includes/cron/cron_task.' . $phpEx);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue