MCPcopy Create free account
hub / github.com/error311/FileRise / fr_pro_bootstrap

Function fr_pro_bootstrap

public/api/pro/_common.php:8–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6
7if (!function_exists('fr_pro_bootstrap')) {
8 function fr_pro_bootstrap(): void
9 {
10 if (!defined('PROJECT_ROOT')) {
11 require_once __DIR__ . '/../../../config/config.php';
12 }
13
14 if (!headers_sent()) {
15 header('Cache-Control: no-store');
16 header('X-Content-Type-Options: nosniff');
17 }
18 }
19}
20
21if (!function_exists('fr_pro_json')) {

Callers 6

fr_pro_jsonFunction · 0.85
fr_pro_read_jsonFunction · 0.85
fr_pro_guard_methodFunction · 0.85
fr_pro_start_sessionFunction · 0.85
_common.phpFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected