HEX
Server: Apache
System: Linux webm013.cluster123.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: lesanew (165608)
PHP: 8.3.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/lesanew/anestetues2/web/app/plugins/advanced-access-manager/index.php
<?php

namespace AAM;

// Let's determine if core WP load file reachable
$wp_load_fl = realpath(dirname(__DIR__, 3) . '/wp-load.php');

if (is_string($wp_load_fl) && file_exists($wp_load_fl)) {
    require_once $wp_load_fl;

    global $wp_query;

    if (is_a($wp_query, \WP_Query::class)) {
        $wp_query->set_404();
    }

    status_header(404);
    nocache_headers();

    $not_found_tmpl = get_404_template();

    if (!empty($not_found_tmpl) && file_exists($not_found_tmpl)) {
        include $not_found_tmpl;
    }
} else {
    http_response_code(404);
}