If you are seeing this in your browser, PHP is not installed on your web server!!! *******************************************/ /** * We will perform some sanity checking here, since this file is normally loaded first when users * first access the application. */ # The index we will store our config in $_SESSION define('APPCONFIG','plaConfig'); define('LIBDIR',sprintf('%s/',realpath('../lib/'))); ini_set('display_errors',1); error_reporting(E_ALL); # General functions needed to proceed. ob_start(); if (! file_exists(LIBDIR.'functions.php')) { if (ob_get_level()) ob_end_clean(); die(sprintf("Fatal error: Required file '%sfunctions.php' does not exist.",LIBDIR)); } if (! is_readable(LIBDIR.'functions.php')) { if (ob_get_level()) ob_end_clean(); die(sprintf("Cannot read the file '%sfunctions.php' its permissions may be too strict.",LIBDIR)); } if (ob_get_level()) ob_end_clean(); require LIBDIR.'functions.php'; # Define the path to our configuration file. if (defined('CONFDIR')) $app['config_file'] = CONFDIR.'config.php'; else $app['config_file'] = 'config.php'; # Make sure this PHP install has gettext, we use it for language translation if (! extension_loaded('gettext')) error('
Your install of PHP appears to be missing GETTEXT support.
GETTEXT is used for language translation.
Please install GETTEXT support before using phpLDAPadmin.
(Dont forget to restart your web server afterwards)