mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16639] Pass absolute paths to make_path_relative
PHPBB3-16639
This commit is contained in:
@@ -42,6 +42,7 @@ class phpbb_filesystem_realpath_test extends phpbb_test_case
|
||||
array(__DIR__ . '/../filesystem/../filesystem', __DIR__),
|
||||
array(__DIR__ . '/././', __DIR__),
|
||||
array(__DIR__ . '/non_existent', false),
|
||||
array(null, getcwd()),
|
||||
|
||||
array(__FILE__, __FILE__),
|
||||
array(__FILE__ . '../', false),
|
||||
|
Reference in New Issue
Block a user