From 6a18e9034c935ddd5aa10470aae323f04f2865c2 Mon Sep 17 00:00:00 2001 From: Jacob Dreesen Date: Tue, 17 Sep 2024 18:55:36 +0200 Subject: [PATCH] Documentation: improve docs for `Phar-incompatible 'realpath()' usage` (#1866) --- docs/probable-bugs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/probable-bugs.md b/docs/probable-bugs.md index 3e18092237..aa333f9b7b 100644 --- a/docs/probable-bugs.md +++ b/docs/probable-bugs.md @@ -17,7 +17,7 @@ alternative is to use the [dirname()](http://php.net/manual/en/function.dirname. /* after */ define ('PROJECT_ROOT', dirname(__DIR__) . '/'); - require_once dirname(dirname(__DIR__)) . '/vendor/autoload.php'; + require_once dirname(__DIR__, 2) . '/vendor/autoload.php'; ``` ## Forgotten debug statements