ezrpg-legacy / ezrpg-2.0.X-discontinued-

http://ezrpgproject.net
Other
6 stars 0 forks source link

URL Guess #30

Closed JakeBooher closed 11 years ago

JakeBooher commented 11 years ago

We should make the URL guesser remove the /Web from it if you are viewing it from the root directory through the .htaccess rewrite.

For example I have ezRPG in the directory:

E:\xampp\htdocs\ezrpg-2.0.X

I view the installer at http://127.0.0.1/ezrpg-2.0.X

it guesses the game directory as http://127.0.0.1/ezrpg-2.0.X/Web

because the index file is in /Web We should try to figure out a way to only put the /Web if you view the installer from the /Web directory

JakeBooher commented 11 years ago

Another fun fact: if the URL doesn't have the /Web in it the theme won't load images because they are located in the /Web directory. We should either find a way around this or remove the ability to view the game from the root directory and just tell people to rename the /Web to the name of their web directory (such as htdocs, or public_html) if they want it in their root directory.