Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Install tool not working in latest 2.11 #3827

Closed
aschempp opened this issue Jan 18, 2012 · 2 comments
Closed

Install tool not working in latest 2.11 #3827

aschempp opened this issue Jan 18, 2012 · 2 comments
Labels
Milestone

Comments

@aschempp
Copy link
Member

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']);
@ghost
Copy link

ghost commented Jan 19, 2012

See #3802.

@leofeyer
Copy link
Member

Fixed in 34b0561.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants