fix: correct path to autoload file using __DIR__ constant
Some checks failed
ci / ci (push) Failing after 0s
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:
parent
9f7053ae3d
commit
863cb55ee3
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
namespace auth_jwt;
|
namespace auth_jwt;
|
||||||
|
|
||||||
require_once("../vendor/autoload.php");
|
require_once(__DIR__ . '/../vendor/autoload.php');
|
||||||
|
|
||||||
use \Firebase\JWT\JWT;
|
use \Firebase\JWT\JWT;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue