Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
// if set to true, will print out more information about request errors so said errors can be more easily debugged.
$DEBUG_PROXY = false;

if( $DEBUG_PROXY ){
error_reporting( E_ALL );
ini_set( 'log_errors', 1 );
ini_set( 'display_errors', 1 );
ini_set( 'error_log', __DIR__ . '/debug-proxy.log' );
}

// set to true if the target matomo server has a ssl certificate that will fail verification, like when testing.
$NO_VERIFY_SSL = false;

Expand Down