summaryrefslogtreecommitdiffstats
path: root/frontend/simple/ajax.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--frontend/simple/ajax.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/frontend/simple/ajax.php b/frontend/simple/ajax.php
index 7873b3a..374e89e 100644
--- a/frontend/simple/ajax.php
+++ b/frontend/simple/ajax.php
@@ -1,8 +1,9 @@
<?php
- include_once '../../admin/survey/definition.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
@@ -15,5 +16,11 @@
GDPR::displayGDPRRequestForm($status);
}
+ // Potrditev piskotka
+ elseif($_GET['a'] == 'cookie_confirm'){
+
+ $dc = new DisplayController();
+ $dc->cookieConfirm();
+ }
?> \ No newline at end of file