mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[feature/system-cron] Use interface_exists to check for interface existence.
PHPBB3-9596
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user