[BUGFIX] ColorPicker: Use absolute web path for exampleImg 40/45140/2
authorBenni Mack <benni@typo3.org>
Sat, 5 Dec 2015 12:58:19 +0000 (13:58 +0100)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Sun, 6 Dec 2015 12:13:08 +0000 (13:13 +0100)
commit828d107c9b1c8e216c20cb51a7be28107c36cf89
tree8635f84fc061dfecd99a975e81b79758835ff3f3
parent98702a8372bbcd7753219c8cf91ba8e3a89ed30e
[BUGFIX] ColorPicker: Use absolute web path for exampleImg

The Example Image of the color picker is currently hardcoded (also with ..)
to the typo3/ directory.
This hinders integrators to allow any other file outside of typo3/ to be shown.

The patch corrects the path resolving part of the Color Picker.

Resolves: #70428
Releases: master
Change-Id: I2fb5a6b7379ee1cb5fd6e76d8081f2f72f91a098
Reviewed-on: https://review.typo3.org/45140
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/backend/Classes/Controller/Wizard/ColorpickerController.php