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

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