phpLDAPadmin
[ class tree: phpLDAPadmin ] [ index: phpLDAPadmin ] [ all elements ]

Procedural File: common.php

Source Location: /templates/3rdParty/pla/lib/common.php



Page Details:

Contains code to be executed at the top of each application page.

include this file at the top of every PHP file.

This file will "pre-initialise" an application environment so that any PHP file will have a consistent environment with other application PHP files.

This code WILL NOT check that all required functions are usable/readable, etc. This process has been moved to index.php (which really is only called once when a browser hits the application for the first time).

The list of ADDITIONAL function files is now defined in functions.php.




Tags:

author:  The phpLDAPadmin development team


Includes:

require(LIBDIR.'syslog.php') [line 251]
Look/evaluate our timeout

require_once(LIBDIR.'hooks.php') [line 174]
require_once(realpath($script)) [line 148]
functions.php should have defined our $app['function_files'] array, listing all our required functions (order IS important).

index.php should have checked they exist and are usable - we'll assume that the user has been via index.php, and fixed any problems already.


require_once(realpath(LIBDIR.'functions.php')) [line 122]
require_once(realpath(LIBDIR.'config_default.php')) [line 151]





APPCONFIG [line 29]

APPCONFIG = 'plaConfig'
The index we will store our config in $_SESSION


[ Top ]



CSSDIR [line 169]

CSSDIR = sprintf('css/%s',$app['theme'])

[ Top ]



DEBUG_ENABLED [line 202]

DEBUG_ENABLED = 1

[ Top ]



E_STRICT [line 118]

E_STRICT = 2048

[ Top ]



IMGDIR [line 170]

IMGDIR = sprintf('images/%s',$app['theme'])

[ Top ]



LIBDIR [line 114]

LIBDIR = '../lib/'

[ Top ]




stopwatch [line 86]

void stopwatch( )

Timer stopwatch, used to instrument the application



[ Top ]



Documentation generated on Sun, 25 Mar 2012 19:35:27 +0200 by phpDocumentor 1.4.1