A while back the code got changed so that calling civicrm_initialize() causes api.php to be loaded so the

require_once 'api/api.php';

is redundant.

(the pattern has been copied & pasted enough that it has hung even though it was probably never required in a stable release)

= array()) {
civicrm_initialize();
require_once 'api/api.php';

Comments

mallezie’s picture

Status: Active » Fixed

This is committed to latest dev.
Thank you very much for reporting, i wasn't aware that the require_once statement, wasn't necessary any more.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.