summaryrefslogtreecommitdiff
path: root/source/globals.rst
diff options
context:
space:
mode:
Diffstat (limited to 'source/globals.rst')
-rw-r--r--source/globals.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/source/globals.rst b/source/globals.rst
new file mode 100644
index 0000000..2a36aff
--- /dev/null
+++ b/source/globals.rst
@@ -0,0 +1,35 @@
+.. this file should contain all definitions of global variables
+
+ .. php:global:: $_SESSION['mconn']
+
+ This global variable defines the status of the database connection
+
+ * TRUE if a connection could be established
+ * FALSE otherwise
+
+ .. php:global:: $_SESSION['_config']['normalhostname']
+
+ This global variable defines the main CAcert-website
+
+ * "www.cacert.org" for production
+ * "test.cacert.org" for testing
+
+ .. php:global:: $_SESSION['_config']['securehostname']
+
+ This global variable defines the secure CAcert-website
+
+ * "secure.cacert.org" for production
+ * " cacert.org" for testing
+
+ .. php:global:: $_SESSION['_config']['tverify']
+
+ This global variable defines TVERIFY
+
+ * "tverify.cacert.org" for production
+ * " " for testing
+
+ .. todo:: checkout what TVERIFY means, check names for test-system
+
+ .. php:global:: $_SESSION['_config']['language']
+
+ .. php:global:: $_SESSION['_config']['recode']