MAG - Vateron-Media/Xtreamcodes_old GitHub Wiki
Logging and debug
Portal API
In order to enable request logging, you need to change the value
$REQUESTLOGER = 0;
to
$REQUESTLOGER = 1;
in file
/home/xtreamcodes/wwwdir/portal.php
In the folder
/home/xtreamcodes/wwwdir/
There will be a file
log.txt
containing data about requests and responses.
Stalker Debug
In order to enable debug mode for stalker_portal you need to add ?debug
to the portal link
To open stalker_portal in a browser, you need to create a mag user c mac 00:1A:80:34:60:58. Enable debug mode by adding ?debug
to the portal link. In the /home/xtreamcodes/wwwdir/c/xpcom.common.js
file, uncomment the variables after // DEBUG