Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
Vulnerability
:
VulnerabilityLoader.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace ReallySimplePlugins\RSS\Core\Features\Vulnerability; use ReallySimplePlugins\RSS\Core\Features\AbstractLoader; use ReallySimplePlugins\RSS\Core\Managers\FeatureManager; use ReallySimplePlugins\RSS\Core\Traits\HasAllowlistControl; /** * Determines whether the Vulnerabilities feature should be loaded. * * @see FeatureManager */ class VulnerabilityLoader extends AbstractLoader { use HasAllowlistControl; /** * @inheritDoc */ public function isEnabled(): bool { return rsssl_get_option('enable_vulnerability_scanner', false); } /** * @inheritDoc */ public function inScope(): bool { return $this->adminAccessAllowed(); } }