<ul><li>webpliance/inc/function.php: Fixed missing / in DOCUMENT_ROOT includes (×3); fixed bare $_POST["action"] and $_POST["_token"] across 40+ branches; fixed bare $_SESSION["uid"] (×9), ["activeacctid"] without isset/??</li><li>webpliance/list.php:1171 — Fixed DOCUMENT_ROOT missing /</li><li>webpliance/setup.php + live_view.php: Fixed bare $_SESSION["YPSiteLinkID"] and $_SESSION["activeacctid"] in JS output context</li><li>webpliance/live_view.php: Fixed $site["tempidkey"] null-safety check</li><li>webpliance/index.php: Fixed $_SESSION["super_admin"], ["usersecuritylevel"], ["rid"] without ?? guards</li><li>migration/pages/index.php: Replaced deprecated $.parseJSON with JSON.parse; added AJAX error handler</li><li>module-dash/sesn.php: Fixed bare $_SESSION["activeacctid"]</li><li>sesn/index.php, sockets/index.php, pageload/index.php, writing_assistant/index.php, web/websites/templates/index.php: Fixed bare $_SESSION["super_admin"] without ?? guard (all)</li><li>writing_assistant/inc_writingassistant_manager.php: Added rtrim() DOCUMENT_ROOT protection</li></ul>