$85 GRAYBYTE WORDPRESS FILE MANAGER $76

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.217.83
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bravetechrwanda/itiministry.org/wp-content/plugins/give/src/API/Endpoints/Logs/

HOME
Current File : /home/bravetechrwanda/itiministry.org/wp-content/plugins/give/src/API/Endpoints/Logs//Endpoint.php
<?php

namespace Give\API\Endpoints\Logs;

use Give\API\RestRoute;
use Give\Framework\Permissions\Facades\UserPermissions;
use WP_Error;

/**
 * Class Endpoint
 * @package GiveDivi\Divi\Routes
 *
 * @since 4.14.0 update permission capability to use facade
 * @since 2.10.0
 */
abstract class Endpoint implements RestRoute
{

    /**
     * @var string
     */
    protected $endpoint;

    /**
     * Check user permissions
     * @return bool|WP_Error
     */
    public function permissionsCheck()
    {
        if ( ! UserPermissions::settings()->canManage()) {
            return new WP_Error(
                'rest_forbidden',
                __('You don\'t have the right permissions to view Logs', 'give'),
                ['status' => $this->authorizationStatusCode()]
            );
        }

        return true;
    }

    // Sets up the proper HTTP status code for authorization.
    public function authorizationStatusCode()
    {
        if (is_user_logged_in()) {
            return 403;
        }

        return 401;
    }
}

Current_dir [ WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 Apr 2026 1.57 AM
bravetechrwanda / bravetechrwanda
0755
Endpoint.php
1.019 KB
28 Jan 2026 8.00 PM
bravetechrwanda / bravetechrwanda
0644
FlushLogs.php
1.592 KB
24 Nov 2021 4.55 AM
bravetechrwanda / bravetechrwanda
0644
GetLogs.php
5.751 KB
5 Jun 2024 11.47 PM
bravetechrwanda / bravetechrwanda
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF Static GIF