Make $common a CreateObject

This commit is contained in:
Miles Lott 2001-03-10 14:27:26 +00:00
parent f7533ca3d0
commit cdbe460eea

View File

@ -27,9 +27,8 @@
exit; exit;
} }
// Does not return unless user is authorized // Does not return unless user is authorized
include( PHPGW_INCLUDE_ROOT . "/phpgwapi/inc/class.common.inc.php");
$common = new common; $common = CreateObject("phpgwapi.common");
$phpgw_setup->loaddb(); $phpgw_setup->loaddb();
$phpgw_info["server"]["auth_type"] = "ldap"; $phpgw_info["server"]["auth_type"] = "ldap";