summaryrefslogtreecommitdiffstats
path: root/admin/survey/classes/class.GetSiteUrl.php
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2022-01-11 12:35:47 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2022-01-11 12:35:47 +0100
commit19985dbb8c0aa66dc4bf7905abc1148de909097d (patch)
tree2cd5a5d20d7e80fc2a51adf60d838d8a2c40999e /admin/survey/classes/class.GetSiteUrl.php
download1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.gz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.bz2
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.lz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.xz
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.tar.zst
1ka-19985dbb8c0aa66dc4bf7905abc1148de909097d.zip
Diffstat (limited to 'admin/survey/classes/class.GetSiteUrl.php')
-rw-r--r--admin/survey/classes/class.GetSiteUrl.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/admin/survey/classes/class.GetSiteUrl.php b/admin/survey/classes/class.GetSiteUrl.php
new file mode 100644
index 0000000..a4c964a
--- /dev/null
+++ b/admin/survey/classes/class.GetSiteUrl.php
@@ -0,0 +1,21 @@
+<?php
+/**
+ * Julij 2018
+ *
+ * Pridobi site url
+ *
+ * @author Patrik Pucer
+ */
+include_once('../survey/definition.php');
+
+class GetSiteUrl
+{
+ function __construct() {
+ }
+
+ function ajax() {
+ global $site_url;
+ echo $site_url;
+ }
+
+} \ No newline at end of file