php 5.3 compliant now
This commit is contained in:
parent
0c32f66899
commit
d1d6885585
1 changed files with 2 additions and 1 deletions
|
@ -34,9 +34,10 @@ if (empty($_POST['dirToken'])) {
|
|||
}
|
||||
|
||||
// The token defines the target directory (security reasons)
|
||||
$sharedItem = array_pop($sharedItem);
|
||||
$dir = sprintf(
|
||||
"/%s/%s",
|
||||
array_pop($sharedItem)['path'],
|
||||
$sharedItem['path'],
|
||||
isset($_POST['subdir']) ? $_POST['subdir'] : ''
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue