From: Matteo Nastasi (mop) Date: Fri, 13 May 2011 16:27:39 +0000 (+0200) Subject: lifecycle added in the documentation X-Git-Tag: 3.5.5~15 X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=commitdiff_plain;h=26a3f0413e699fd4c0e10f88d2696cad9e051c07 lifecycle added in the documentation --- diff --git a/doc/ARCHITECTURE.txt b/doc/ARCHITECTURE.txt index b350151..807c5fb 100644 --- a/doc/ARCHITECTURE.txt +++ b/doc/ARCHITECTURE.txt @@ -17,3 +17,14 @@ index.php: --- CLI ------------ POST index.php with passid_private field equal to calcMD5(tokens[1]+calcMD5(form.elements['passid'].value)) + + +===== Game Lifecycle ===== + +-> bin5/index_wr.php + argz[0] == 'logout' + - bri->table_wakeup($user) + - set users subst to "shutdowner" and "shutdowned" + - save this: "gst.st_loc++; the_end=true; window.onbeforeunload = null; \ + window.onunload = null; document.location.assign("../index.php");" + in user->comm var for client xhr + - set $bri->the_end = TRUE