wip prof check page now handle the success message on paiement
This commit is contained in:
@@ -14,9 +14,6 @@ if (!defined('ABSPATH')) {
|
||||
*/
|
||||
function add_partenaires_PLGNTLS($customer_data){
|
||||
$current_url = $_SERVER['HTTP_REFERER']; // not reliable to use referer, TODO: find another solution
|
||||
error_log("---");
|
||||
error_log("uri:");
|
||||
error_log($_SERVER['REQUEST_URI']);
|
||||
$path_brut = parse_url($current_url, PHP_URL_PATH);
|
||||
$path = trim($path_brut, '/');
|
||||
if ($path === 'creation-du-compte-partenaire')
|
||||
|
||||
Reference in New Issue
Block a user