added global variables into doctree
This commit is contained in:
parent
fd372b18d9
commit
c22dc42e94
2 changed files with 60 additions and 20 deletions
|
@ -1,4 +1,33 @@
|
|||
.. this file should contain all definitions of global variables
|
||||
.. index:: scripts
|
||||
.. index:: PHP
|
||||
|
||||
================
|
||||
Global Variables
|
||||
================
|
||||
|
||||
As the modules this website includes have to communicate together there are some global variables defined as arrays
|
||||
|
||||
|
||||
.. index:: $_REQUEST
|
||||
|
||||
:php:global:`$_REQUEST`
|
||||
=======================
|
||||
|
||||
.. php:global:: $_REQUEST["lang"]
|
||||
|
||||
|
||||
.. index:: $_SERVER
|
||||
|
||||
:php:global:`$_SERVER`
|
||||
======================
|
||||
|
||||
.. php:global:: $_SERVER['HTTP_ACCEPT_LANGUAGE']
|
||||
|
||||
|
||||
.. index:: $_SESSION
|
||||
|
||||
:php:global:`$_SESSION`
|
||||
========================
|
||||
|
||||
.. php:global:: $_SESSION['mconn']
|
||||
|
||||
|
@ -7,6 +36,12 @@
|
|||
* TRUE if a connection could be established
|
||||
* FALSE otherwise
|
||||
|
||||
.. index:: $_SESSION['_config']
|
||||
|
||||
----------------------------------
|
||||
:php:global:`$_SESSION['_config']`
|
||||
----------------------------------
|
||||
|
||||
.. php:global:: $_SESSION['_config']['normalhostname']
|
||||
|
||||
This global variable defines the main CAcert-website
|
||||
|
@ -33,3 +68,7 @@
|
|||
.. php:global:: $_SESSION['_config']['language']
|
||||
|
||||
.. php:global:: $_SESSION['_config']['recode']
|
||||
|
||||
.. php:global:: $_SESSION['_config']['filepath']
|
||||
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ contribution. The canonical repository is the :cacertgit:`cacert-devel` though.
|
|||
:caption: Contents:
|
||||
|
||||
general
|
||||
globals
|
||||
directories
|
||||
database
|
||||
signer
|
||||
|
|
Loading…
Reference in a new issue