Skip to content

Commit 6a18e90

Browse files
authored
Documentation: improve docs for Phar-incompatible 'realpath()' usage (#1866)
1 parent cc886c4 commit 6a18e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/probable-bugs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ alternative is to use the [dirname()](http://php.net/manual/en/function.dirname.
1717

1818
/* after */
1919
define ('PROJECT_ROOT', dirname(__DIR__) . '/');
20-
require_once dirname(dirname(__DIR__)) . '/vendor/autoload.php';
20+
require_once dirname(__DIR__, 2) . '/vendor/autoload.php';
2121
```
2222

2323
## Forgotten debug statements

0 commit comments

Comments
 (0)