Commit Graph

5 Commits

Author SHA1 Message Date
Martin Ambrus 43029480ae fix: nothing from var folder should be publicly readable 2017-11-03 16:52:03 +01:00
Martin Ambrus f5c3e029b5 feat: access log config setting and a real get-post-cookie logger
This is a very naive and primitive logger of user requests to the game.
To be used on systems where access to webserver's log data is not
available (especially if the webserver doesn't store POST data as well).
2017-10-28 18:59:16 +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 cd9f22e597 fix: sql files should not be readable by the server 2017-10-21 11:12:55 +02:00
yi12345 98e94af807 finish hero_full.php 2013-06-16 10:38:34 +03:00