contao/core — Issue #3827: Install tool not working in latest 2.11
Author: aschempp
Created: 2012-01-18 16:49:31+00:00
State: open

Because the install tool does not call the parent function of the Backend class, the TL_SCRIPT_URL etc. are undefined.

https://github.com/contao/core/blob/2.11.x/contao/install.php#L72

I've added this at the bottom of __construct()

// Static URLs
$this->setStaticUrl('TL_FILES_URL', $GLOBALS['TL_CONFIG']['staticFiles']);
$this->setStaticUrl('TL_SCRIPT_URL', $GLOBALS['TL_CONFIG']['staticSystem']);
$this->setStaticUrl('TL_PLUGINS_URL', $GLOBALS['TL_CONFIG']['staticPlugins']);