]> git.mxchange.org Git - friendica-addons.git/blobdiff - jappixmini/jappix/php/vars-main.php
jappixmini: include jappix source
[friendica-addons.git] / jappixmini / jappix / php / vars-main.php
diff --git a/jappixmini/jappix/php/vars-main.php b/jappixmini/jappix/php/vars-main.php
new file mode 100644 (file)
index 0000000..852eb44
--- /dev/null
@@ -0,0 +1,37 @@
+<?php
+
+/*
+
+Jappix - An open social platform
+These are the main configuration variables
+
+-------------------------------------------------
+
+License: AGPL
+Author: Vanaryon
+Last revision: 26/08/11
+
+*/
+
+// Someone is trying to hack us?
+if(!defined('JAPPIX_BASE'))
+       exit;
+
+// Define the vars with the main configuration constants
+$service_name = htmlspecialchars(SERVICE_NAME);
+$service_desc = htmlspecialchars(SERVICE_DESC);
+$jappix_resource = htmlspecialchars(JAPPIX_RESOURCE);
+$lock_host = htmlspecialchars(LOCK_HOST);
+$anonymous_mode = htmlspecialchars(ANONYMOUS);
+$registration = htmlspecialchars(REGISTRATION);
+$bosh_proxy = htmlspecialchars(BOSH_PROXY);
+$manager_link = htmlspecialchars(MANAGER_LINK);
+$groupchats_join = htmlspecialchars(GROUPCHATS_JOIN);
+$encryption = htmlspecialchars(ENCRYPTION);
+$https_storage = htmlspecialchars(HTTPS_STORAGE);
+$https_force = htmlspecialchars(HTTPS_FORCE);
+$compression = htmlspecialchars(COMPRESSION);
+$multi_files = htmlspecialchars(MULTI_FILES);
+$developer = htmlspecialchars(DEVELOPER);
+
+?>