Server IP : 172.67.158.161 / Your IP : 18.118.10.18 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/pro/fingerprinting/ |
Upload File : |
<?php use iThemesSecurity\Strauss\Pimple\Container; use iThemesSecurity\Modules\Fingerprinting\REST; return static function ( Container $c ) { $c['module.fingerprinting.files'] = [ 'active.php' => ITSEC_Fingerprinting::class, ]; \ITSEC_Lib::extend_if_able( $c, 'dashboard.cards', function ( $cards ) { $cards[] = new ITSEC_Dashboard_Card_Line_Graph( 'fingerprinting', __( 'Trusted Devices', 'it-l10n-ithemes-security-pro' ), [ [ 'events' => 'fingerprint-status-approved', 'label' => __( 'Approved', 'it-l10n-ithemes-security-pro' ), ], [ 'events' => 'fingerprint-status-approved', 'label' => __( 'Approved', 'it-l10n-ithemes-security-pro' ), ], [ 'events' => 'fingerprint-status-auto-approved', 'label' => __( 'Auto-Approved', 'it-l10n-ithemes-security-pro' ), ], [ 'events' => 'fingerprint-status-denied', 'label' => __( 'Blocked', 'it-l10n-ithemes-security-pro' ), ], ] ); return $cards; } ); \ITSEC_Lib::extend_if_able( $c, 'rest.controllers', function ( $controllers, Container $c ) { $controllers[] = $c[ REST\Devices::class ]; return $controllers; } ); $c[ ITSEC_Fingerprinting::class ] = static function () { return new ITSEC_Fingerprinting(); }; $c[ REST\Devices::class ] = static function ( Container $c ) { return new REST\Devices( $c[ ITSEC_Fingerprinting::class ] ); }; };