If you are seeing this in your browser, PHP is not installed on your web server!!! *******************************************/ require 'common.php'; if( ! file_exists(realpath( 'config.php' )) ) { ?>
\$servers['host'] = \"ldap.example.com\";phpLDAPadmin cannot proceed util you correct this.", false ); return false; } // Check each of the servers in the servers array foreach( $servers as $id => $server ) { if( isset( $server['host'] ) ) { // Make sure they specified an auth_type if( ! isset( $server['auth_type'] ) ) { pla_error( "Your configuratoin has an error. You omitted the 'auth_type' directive on server number $id 'auth_type' must be set, and it must be one of 'config', 'cookie', or 'session'.", false ); return false; } // Make sure they specified a correct auth_type if( $server['auth_type'] != 'config' && $server['auth_type'] != 'cookie' && $server['auth_type'] != 'session') { pla_error( sprintf( $lang['error_auth_type_config'], htmlspecialchars( $server['auth_type'] ) ) ); return false; } } } return true; } ?>