summaryrefslogtreecommitdiffstats
path: root/frontend/simple/ajax.php
blob: 374e89e6e0e8f5827d346f72f1902141c9231647 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php 
	
	include_once('../../admin/survey/definition.php');
	include_once('../../function.php');
	include_once('../../vendor/autoload.php');
	include_once('classes/DisplayController.php');
	
	
	// Poslana zahteva za izbris
	if($_GET['a'] == 'gdpr_request_send'){
		
		$status = array();
		$status = $_POST['json'];
		
		//var_dump($status);
	
		GDPR::displayGDPRRequestForm($status);
	}
    // Potrditev piskotka
	elseif($_GET['a'] == 'cookie_confirm'){
		
        $dc = new DisplayController();
        $dc->cookieConfirm();
	}
	
?>