diff options
Diffstat (limited to 'plugins/phpbb4')
-rw-r--r-- | plugins/phpbb4/phpbb4_bootstrap.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/phpbb4/phpbb4_bootstrap.php b/plugins/phpbb4/phpbb4_bootstrap.php index 3f7dee5..740f230 100644 --- a/plugins/phpbb4/phpbb4_bootstrap.php +++ b/plugins/phpbb4/phpbb4_bootstrap.php @@ -6,6 +6,11 @@ use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; +if (!file_exists($phpbb_root_path . 'includes/startup.' . $phpEx)) { + file_put_contents('php://stderr', "phpBB not found at <{$phpbb_root_path}>.\n"); + exit; +} + require($phpbb_root_path . 'includes/startup.' . $phpEx); require_once __DIR__ . '/noweb_user.php'; |