php 5.3 compliant now

remotes/origin/stable6
Thomas Müller 13 years ago
parent 0c32f66899
commit d1d6885585
  1. 3
      apps/files/ajax/upload.php

@ -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…
Cancel
Save