Entries by Anonymous user

Show all entries from oxconfig

CLI script to read all entries from oxconfig in clear text defined(‘SHOPBASEPATH’) || define(‘SHOPBASEPATH’, realpath(dirname(__FILE__) . ‘/../htdocs’)); require_once(SHOPBASEPATH. “/core/oxfunctions.php”); require_once(SHOPBASEPATH. “/core/adodblite/adodb.inc.php”); function getShopBasePath() { return SHOPBASEPATH . ‘/’; } $oDb = oxDb::getDb(); $sQ = “SELECT oxvarname, oxvartype, DECODE( oxvarvalue, ‘” . oxConfig::getInstance()->getConfigParam( ‘sConfigKey’ ) . “‘) as oxvarvalue from oxconfig”; $oRs = $oDb->execute( $sQ ); […]