mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 20:13:22 +01:00
[feature/system-cron] Use interface_exists to check for interface existence.
PHPBB3-9596
This commit is contained in:
parent
451198b467
commit
562bbc885e
@ -16,7 +16,7 @@ if (!defined('IN_PHPBB'))
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!class_exists('cron_task'))
|
||||
if (!interface_exists('cron_task'))
|
||||
{
|
||||
include($phpbb_root_path . 'includes/cron/cron_task.' . $phpEx);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user