Révision 6b24a280
Ajouté par Assos Assos il y a presque 4 ans
drupal7/includes/filetransfer/filetransfer.inc | ||
---|---|---|
301 | 301 |
$parts = explode('/', $path); |
302 | 302 |
$chroot = ''; |
303 | 303 |
while (count($parts)) { |
304 |
$check = implode($parts, '/');
|
|
304 |
$check = implode('/', $parts);
|
|
305 | 305 |
if ($this->isFile($check . '/' . drupal_basename(__FILE__))) { |
306 | 306 |
// Remove the trailing slash. |
307 | 307 |
return substr($chroot, 0, -1); |
Formats disponibles : Unified diff
-a