samerton / NamelessMC

A complete Minecraft-related PHP website package. Please note this is an old repository, a link to the new repo is in the readme
https://github.com/NamelessMC/Nameless
MIT License
39 stars 17 forks source link

Redirection to the wrong page #24

Closed Root3287 closed 9 years ago

Root3287 commented 9 years ago

Sam, Can you fix this bug where some one would put the software inside of another folder so like a subdomain(Homefile: htadocs/NMC/index.php). Then run the file it will try to go to htadocs/install. Instead of htadocs/NMC/install. On my localhost it going to 127.0.0.1/install. Then the whole system is messed up.

Root3287 commented 9 years ago

I recremend using define(path, '../'); in every page

Root3287 commented 9 years ago

Or how else you will fix that because it is also happening to me

samerton commented 9 years ago

The system is meant to be a standalone package, therefore it will not work if installed in a sub-directory. Sorry, but this will take quite some time to change.

Root3287 commented 9 years ago

kk Thanks