You are here

function ldap_servers_module_load_include in Lightweight Directory Access Protocol (LDAP) 8.2

Same name and namespace in other branches
  1. 7.2 ldap_servers/ldap_servers.module \ldap_servers_module_load_include()

function to replace module_load_include such that when something is not included, drupal will exit instead of attempting something half baked.

56 calls to ldap_servers_module_load_include()
LdapAuthenticationConfAdmin.class.php in ldap_authentication/LdapAuthenticationConfAdmin.class.php
LdapAuthorizationBasicTests::testUIForms in ldap_authorization/tests/BasicTests.test
LdapAuthorizationConsumerAbstract::__construct in ldap_authorization/LdapAuthorizationConsumerAbstract.class.php
Constructor Method
LdapAuthorizationConsumerOG.class.php in ldap_authorization/ldap_authorization_og/LdapAuthorizationConsumerOG.class.php
LdapQuery::query in ldap_query/LdapQuery.class.php

... See full list

2 string references to 'ldap_servers_module_load_include'
LdapAuthorizationConsumerOG.class.php in ldap_authorization/ldap_authorization_og/LdapAuthorizationConsumerOG.class.php
ldap_servers.test in ldap_servers/tests/ldap_servers.test

File

ldap_servers/ldap_servers.module, line 502

Code

function ldap_servers_module_load_include($type, $module, $name = NULL) {
  $result = module_load_include($type, $module, $name);
  if ($result === FALSE) {
    print "Failed to load file {$name}.{$type} in module {$module}";
    drupal_exit();
  }
}