We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/* * Path is '/srv/clips/1/5/0/5/7/vid/059468/arbm' * Explode is array ( 0 => '', 1 => 'srv', 2 => 'clips', 3 => '1', 4 => '5', 5 => '0', 6 => '5', 7 => '7', 8 => 'vid', 9 => '059468', 10 => 'arbm', ) */ foreach ($parts as $part) { $part = $part=='' ? '/' : $part; ...
I had to add the last line, since chdir('') fails.
If I send target without leading slash, it the folder gets created under the current root.
In retrospect it seems obvious: you want me to chdir to '/srv' then mkdir.
But I am calling putAll(), and I don't necessarily know what the root/leading portion is.
Is there any problem with this suggested fix?
The text was updated successfully, but these errors were encountered:
Hi, can you create PR for this issue?
Sorry, something went wrong.
I am afraid not, sorry. Not today, not soon.
No branches or pull requests
I had to add the last line, since chdir('') fails.
If I send target without leading slash, it the folder gets created under the current root.
In retrospect it seems obvious: you want me to chdir to '/srv' then mkdir.
But I am calling putAll(), and I don't necessarily know what the root/leading portion is.
Is there any problem with this suggested fix?
The text was updated successfully, but these errors were encountered: