Hello. How to include system configuration for my custom application? (v2022)
I included this file but have errors.
<?php $RELATIVE_PATH = "api/"; require_once "api/vendor/autoload.php"; ?>
<?php
if (!IsLoggedIn()) { header("Location: http://xxx/api/login");
die();
}
Fatal error: Uncaught Error: Call to undefined function PHPMaker2022\men\IsLoggedIn() in D:\OpenServer\domains\xxx\index.php:15 Stack trace: #0 {main} thrown in D:\OpenServer\domains\xxx\index.php on line 15