fix: correct path to autoload file using __DIR__ constant
Some checks failed
ci / ci (push) Failing after 0s

Switched from relative path to using __DIR__ constant for requiring vendor/autoload.php. This ensures correct file inclusion regardless of the script's execution context, preventing potential loading issues.
This commit is contained in:
Kumi 2024-06-25 18:10:19 +02:00
parent 9f7053ae3d
commit 863cb55ee3
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -16,7 +16,7 @@
namespace auth_jwt;
require_once("../vendor/autoload.php");
require_once(__DIR__ . '/../vendor/autoload.php');
use \Firebase\JWT\JWT;