php 5.3 compliant now

This commit is contained in:
Thomas Müller 2013-07-05 13:22:38 +02:00
parent 0c32f66899
commit d1d6885585
1 changed files with 2 additions and 1 deletions

View File

@ -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'] : ''
);