contao/import — Issue #3261: Relative path to files in mediabox.js
Author: importer
Created: 2011-11-29 21:13:38+00:00
State: open
Labels: Defect, plugins

In Contao 2.10 the files of mediabox moved to their version subfolders (1.2.5 and 1.3.4), so the patch for relative paths in mediabox.js actually is not working and needs one more "../":

```
// PATCH: use relative URLs to bypass the .htaccess protection
var uri = new URI(URL);
URL = "../../" + uri.toRelative(); // missing one ../
// PATCH EOF
```

--- _Originally created by b2m on July 12th, 2011, at 10:38pm (ID 3261)_