23 $oAuthUser =
oxNew(
'oxuser');
24 $oAuthUser->loadAdminUser();
25 $blisMallAdmin = $oAuthUser->oxuser__oxrights->value ==
"malladmin";
27 if ($blisMallAdmin && !
$myConfig->isDemoShop()) {
29 $aSystemInfo = array();
30 $aSystemInfo[
'pkg.info'] =
$myConfig->getPackageInfo();
32 while (list($name, $value) = each($aClassVars)) {
33 if (gettype($value) ==
"object") {
37 if ($name ==
"oDB" || $name ==
"dbUser" || $name ==
"dbPwd" ||
38 $name ==
"oSerial" || $name ==
"aSerials" || $name ==
"sSerialNr"
43 $value = var_export($value,
true);
44 $value = str_replace(
"\n",
"<br>", $value);
45 $aSystemInfo[$name] = $value;
48 $oSmarty->assign(
"oViewConf", $this->_aViewData[
"oViewConf"]);
49 $oSmarty->assign(
"oView", $this->_aViewData[
"oView"]);
50 $oSmarty->assign(
"shop", $this->_aViewData[
"shop"]);
51 $oSmarty->assign(
"isdemo",
$myConfig->isDemoShop());
52 $oSmarty->assign(
"aSystemInfo", $aSystemInfo);
53 echo $oSmarty->fetch(
"systeminfo.tpl");