You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Fatal error: Uncaught whikloj\BagItTools\Exceptions\FilesystemException: Unable to put contents to file /my_bag_path/bagit.txt in /.../vendor/whikloj/bagittools/src/BagUtils.php:283
It appears that my_bag_path is interpreted as an absolute path unless you prefix it with ./
I'm not sure if this is intentional, but in my opinion this library should behave like the PHP file functions, which would interpret my_bag_path as a relative path unless there is a / prefix in front.
The text was updated successfully, but these errors were encountered:
The following code fails:
...with...
It appears that
my_bag_path
is interpreted as an absolute path unless you prefix it with./
I'm not sure if this is intentional, but in my opinion this library should behave like the PHP file functions, which would interpret
my_bag_path
as a relative path unless there is a/
prefix in front.The text was updated successfully, but these errors were encountered: