1
Support / Installation error: code not found
« on: July 20, 2024, 05:07:58 am »
The following code no longer exists in 2.1:
and should be populated via integrate_pre_log_stats example usage at https://github.com/envision-mods/portal/blob/312391fcc576cd70bb9a7882214cabd933ac6253/ep_source/EnvisionPortal/Integration.php#L103-L110
Code: [Select]
// Remember this URL in case someone doesn't like sending HTTP_REFERER.
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=viewsmfile') === false)
$_SESSION['old_url'] = $_SERVER['REQUEST_URL'];
It is n owCode: [Select]
// Remember this URL in case someone doesn't like sending HTTP_REFERER.
if ($should_log)
$_SESSION['old_url'] = $_SERVER['REQUEST_URL'];
and should be populated via integrate_pre_log_stats example usage at https://github.com/envision-mods/portal/blob/312391fcc576cd70bb9a7882214cabd933ac6253/ep_source/EnvisionPortal/Integration.php#L103-L110