** $Id$
**/
- $addressbook_php = true;
+ if (defined ('addressbook_php'))
+ return;
+ define ('addressbook_php', true);
// Include backends here.
include('../functions/abook_local_file.php');
$ret = array();
for($i = 1 ; $i <= $this->numbackends ; $i++) {
if(empty($type) || $type == $this->backends[$i]->btype) {
- array_push($ret, &$this->backends[$i]);
+ $ret[] = &$this->backends[$i];
}
}
return $ret;