-
Notifications
You must be signed in to change notification settings - Fork 0
HowTo: Implement new SignupMethods
TimRepke edited this page Oct 17, 2015
·
2 revisions
There are two files that sort of handle the configuration because we couldn't be bothered to create another database table:
-
./passwd/users.txt
add users to this file.S
stands for super admin (can create new trips),N
users can only manage the current trip -
./config_current_fahrt_id
(a file that only contains the id of the current trip
Folder structure:
- The
admin
folder contains everything for the admin backend. -
view
contains all frontend stuff -
view/signups
contains all possible signup methods (games, add them toconfig.inc.php
) -
view/js
should contain all commonly used js things - ...
For debugging you can point your browser to the test.html
and use some of the following parameters:
-
map
- number of the map -
showEventLayers
- settrue
if you want to see the event layers -
verbosePF
- settrue
to dump the path finding raster to the console -
fastTalk
- settrue
to make dialogues ultra fast
For example:
http://localhost/fsfahrt/view/signups/game1/test.html?showEventLayers=true&map=2&verbosePF=true