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

Procedural File: common.php

Source Location: /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:

filesource:  Source Code for this file


Includes:

require_once(LIBDIR.'functions.php') [line 90]
require_once(LIBDIR.'config_default.php') [line 120]
require_once($file_name) [line 116]
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.







APPCONFIG [line 20]

APPCONFIG = 'plaConfig'

[ Top ]



DEBUG_ENABLED [line 147]

DEBUG_ENABLED = 1

[ Top ]



E_STRICT [line 86]

E_STRICT = 2048

[ Top ]




stopwatch [line 51]

void stopwatch( )

Timer stopwatch, used to instrument the application



[ Top ]



Documentation generated on Sun, 30 Dec 2007 17:49:20 -0800 by phpDocumentor 1.3.1