Jun
3 d.
2009

OXID framework init

This is the minimal PHP code required for OXID eShop initialization

//change this
$sOxidConfigDir = "/htdocs/oxideshop/eshop/source/";
 
function getShopBasePath()
{
    global $sOxidConfigDir;
    return $sOxidConfigDir . "/";
}
require_once(getShopBasePath(). "/core/oxfunctions.php");
require_once(getShopBasePath() ."/core/adodblite/adodb.inc.php");
 
//now you can fully use the framework e.g.:
//$oArticle = oxNew("oxarticle");

I hope that was helpful.

Leave a Reply