22 $oAuthUser =
oxNew(
'oxuser' );
23 $oAuthUser->loadAdminUser();
24 $blisMallAdmin = $oAuthUser->oxuser__oxrights->value ==
"malladmin";
26 if ( $blisMallAdmin && !
$myConfig->isDemoShop()) {
27 $aClassVars = get_object_vars(
$myConfig);
28 $aSystemInfo = array();
29 $aSystemInfo[
'pkg.info'] =
$myConfig->getPackageInfo();
31 while (list($name, $value) = each($aClassVars)) {
32 if (gettype($value)==
"object")
35 if ( $name ==
"oDB" || $name ==
"dbUser" || $name ==
"dbPwd" ||
36 $name ==
"oSerial" || $name ==
"aSerials" || $name ==
"sSerialNr" )
38 $value = var_export($value,
true);
39 $value = str_replace(
"\n",
"<br>", $value);
40 $aSystemInfo[$name] = $value;
43 $oSmarty->assign(
"oViewConf", $this->_aViewData[
"oViewConf"]);
44 $oSmarty->assign(
"oView", $this->_aViewData[
"oView"]);
45 $oSmarty->assign(
"shop", $this->_aViewData[
"shop"]);
46 $oSmarty->assign(
"isdemo",
$myConfig->isDemoShop());
47 $oSmarty->assign(
"aSystemInfo", $aSystemInfo);
48 echo $oSmarty->fetch(
"systeminfo.tpl");