Commit Graph

14 Commits

Author SHA1 Message Date
Martin Ambrus d9f4d044c6 fix: new install version + old installed version redirected to install
Because the check changed to see if /var/installed is present (and it
would never be in the version previously installed), this caused some
pages to redirect to /install.
2017-10-28 09:32:54 +02:00
Martin Ambrus 1e9098505e fix: login + logout pages redirect to install, if not installed yet 2017-10-27 19:34:47 +02:00
Martin Ambrus 1066fff9a2 refactor: installation happens at MySQL side
A lot has happened here. Here's the list:

1. autoloader was added that should prevent various "failed to open
stream" errors when trying to load new classes

2. PHP-based data generation was replaced by MySQL-based one, hopefully
fixing the installation problems when insert payload it too high and the
DB wouldn't populate with some users

3. thanks to step 2, the installation should be really almost
instantenious, instead of waiting a long time for many SQL connections
and queries to populate the world

4. World Data & Oasis generation and population is done in 1 step now
2017-10-27 18:27:03 +02:00
Martin Ambrus ec9c5cdaa4 fix: login & signup pages work from static front-pages now 2017-10-22 22:22:34 +02:00
Martin Ambrus 5bcc00c903 fix: also missing count alias now :-D 2017-10-22 21:54:00 +02:00
Martin Ambrus ca22e6c7ef fix: wrong count for online users :-P 2017-10-22 21:53:02 +02:00
Martin Ambrus 71ad4307e1 refactor: counting users on homepage uses indexes
... and some intelligent queries for a change :P
2017-10-22 21:44:33 +02:00
Martin Ambrus 17fcadc3d1 chore: version bump & readme update 2017-10-17 13:52:22 +02:00
Domen Kajdič 2cf2f3c343 Trying to fix this monstrosity #1 2016-09-13 15:38:14 +02:00
Shadow 6e62f2232f install update 2014-03-17 07:36:46 +02:00
Shadow e43de8face Update index.php 2014-02-11 08:26:26 +02:00
KFCSpike 53a7871fdf Fixes #46 2014-01-03 19:07:05 +00:00
Novgorodschi Catalin ee2cca1f19 updates 2013-11-20 08:01:14 +02:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00