// ---- Legacy shims ----------------------------------------------------------- if (!function_exists('file_exists_docroot')) { function file_exists_docroot(string $p): bool { return ev_exists($p); } } if (!function_exists('encode_url_path')) { function encode_url_path(string $p): string { return ev_link($p); } } // ----------------------------------------------------------------------------- // Load auth/session helpers once for every page // ----------------------------------------------------------------------------- require_once ev_path('auth/bootstrap.php');