* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Functions and classes for the addressbook system.
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Functions and classes for the addressbook system.
-require_once('../functions/abook_local_file.php');
-require_once('../functions/abook_ldap_server.php');
+require_once(SM_PATH . 'functions/abook_local_file.php');
+require_once(SM_PATH . 'functions/abook_ldap_server.php');
}
/* Only load database backend if database is configured */
if(isset($addrbook_dsn) && !empty($addrbook_dsn)) {
}
/* Only load database backend if database is configured */
if(isset($addrbook_dsn) && !empty($addrbook_dsn)) {
isset($addrsrch_fullname) and $prefix = $addrsrch_fullname)
and $prefix !== 'noprefix') {
$name = ($prefix === 'nickname') ? $row['nickname']
isset($addrsrch_fullname) and $prefix = $addrsrch_fullname)
and $prefix !== 'noprefix') {
$name = ($prefix === 'nickname') ? $row['nickname']