function createObject() { if (EComm::isEnabledGlobally()) { return new ECommInit(); } return new AppInit(); }
function createObject() { $_S =& new AppSettings(); if (EComm::isEnabledGlobally()) { return new ECommUser(); } return new User(); }
function ecommerceEnabled() { global $gorumuser, $gorumrecognised, $gorumroll; if (!EComm::isEnabledGlobally()) { return FALSE; } hasAdminRights($isAdm); return isset($this->ecommerceEnabled) && ($this->ecommerceEnabled == Settings_ecommEnabled || $this->ecommerceEnabled == Settings_ecommTestMode && ($isAdm || $gorumrecognised && $gorumuser->name == "ecommtest" || isset($gorumroll) && $gorumroll->list == "purchase" && ($gorumroll->method == "silent_post" || $gorumroll->method == "relay_response"))); }
include NOAH_APP . "/settings.php"; include NOAH_APP . "/globalstat.php"; include NOAH_APP . "/customfieldcontainer.php"; include NOAH_APP . "/user.php"; include NOAH_APP . "/category.php"; include NOAH_APP . "/item.php"; //include(NOAH_APP . "/fieldcolumn.php"); include NOAH_APP . "/customfield.php"; include NOAH_APP . "/userfield.php"; include NOAH_APP . "/itemfield.php"; include NOAH_APP . "/init.php"; include NOAH_APP . "/search.php"; include NOAH_APP . "/itemsearch.php"; include NOAH_APP . "/usersearch.php"; include NOAH_APP . "/checkconf.php"; include NOAH_APP . "/cronjob.php"; include NOAH_APP . "/fieldset.php"; include NOAH_APP . "/controlpanel.php"; include NOAH_APP . "/customlist.php"; include NOAH_APP . "/overlay.php"; include NOAH_APP . "/ecomm.php"; if (EComm::isEnabledGlobally()) { include ECOMM_DIR . "/constants.php"; } global $_FP; if ($firePHP) { include GORUM_DIR . "/firephp/FirePHP.class.php"; $_FP = FirePHP::getInstance(TRUE); } else { $_FP = 0; }