Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

[gitHub #1377] [Solved] Hide 'Vanilla has already been installed'

jcwebdevjcwebdev newb
edited June 2012 in Questions

When I browse to /path/to/vanilla/forum/setup/ I'm presented with a very detailed error message that outlines where Vanilla has been installed to.

This gives away too much system information for my liking and I'd like to hide the page. I can see the error message is being generated by:

forum/applications/dashboard/controllers/class.setupcontroller.php

Is it possible to disable this page without hacking the PHP code in this file?

Best Answer

  • x00x00 Don't PM about development, I'm not currently taking on clients MVP
    Answer ✓

    Server rule have some nuances, which can be specific to your setup

    I may be easier to use vanilla routes. dashboard/routes->Add Route

    Route Expression

    (dashboard/)?setup(/.*)?

    Target

    dashboard/home/filenotfound

    Type

    Not Found (404)

    You could also use it to redirect to a custom page. I would say report this on git hub becuase is still triggers even if debugging is off. it should really show 'Bonk!' as default. https://github.com/vanillaforums/Garden/issues

    Don't PM about development, I'm not currently taking on clients.

    grep is your friend.

Answers

Sign In or Register to comment.