71 $this->_aFileCheckerPathList = $aPathList;
91 $this->_aFileCheckerExtensionList = $aExtList;
112 if (!empty($sVersion)) {
113 $this->_sVersion = $sVersion;
134 if (!empty($sEdition)) {
135 $this->_sEdition = $sEdition;
156 if (!empty($sRevision)) {
157 $this->_sRevision = $sRevision;
179 if (!empty($sShopLink)) {
180 $this->_sShopLink = $sShopLink;
201 $aShopDetails = array(
207 'Subshops (Total)' => $this->
_countRows(
'oxshops',
true),
208 'Subshops (Active)' => $this->
_countRows(
'oxshops',
false),
209 'Categories (Total)' => $this->
_countRows(
'oxcategories',
true),
210 'Categories (Active)' => $this->
_countRows(
'oxcategories',
false),
211 'Articles (Total)' => $this->
_countRows(
'oxarticles',
true),
212 'Articles (Active)' => $this->
_countRows(
'oxarticles',
false),
213 'Users (Total)' => $this->
_countRows(
'oxuser',
true),
216 return $aShopDetails;
230 $sRequest =
'SELECT COUNT(*) FROM ' . $sTable;
232 if ($blMode ==
false) {
233 $sRequest .=
' WHERE oxactive = 1';
236 $aRes = $oDb->execute($sRequest)->fields(0);
249 $aPhpIniParams = array(
253 'max_execution_time',
257 'upload_max_filesize',
260 $aPhpIniConf = array();
262 foreach ($aPhpIniParams as $sParam) {
263 $sValue = ini_get($sParam);
264 $aPhpIniConf[$sParam] = $sValue;
280 if (function_exists(
'zend_optimizer_version')) {
281 $sReturn .=
'Optimizer';
284 if (function_exists(
'zend_loader_enabled')) {
285 $sReturn .=
'Guard Loader';
301 $iCpuAmnt = $iCpuMhz = $iBogo = $iMemTotal = $iMemFree = $sCpuModelName = $sCpuModel = $sCpuFreq = $iCpuCores = null;
311 $sCpuModel = $iCpuAmnt .
'x ' . $sCpuModelName;
312 $sCpuFreq = $iCpuMhz .
' MHz';
315 if ($iBogo && $iCpuMhz) {
316 $iCpuCores = $iBogo / $iCpuMhz;
320 $aServerInfo = array(
321 'Server OS' => @php_uname(
's'),
328 'Memory total' => $iMemTotal,
329 'Memory free' => $iMemFree,
330 'CPU Model' => $sCpuModel,
331 'CPU frequency' => $sCpuFreq,
332 'CPU cores' => round($iCpuCores, 0),
345 if (function_exists(
'apache_get_version')) {
346 $sReturn = apache_get_version();
348 $sReturn = $_SERVER[
'SERVER_SOFTWARE'];
367 $sSystemType =
'VMWare';
374 $sSystemType =
'VirtualBox';
389 return function_exists(
'exec');
401 return exec(
'lspci | grep -i ' . $sSystemType);
412 return exec(
'cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l');
422 return round(exec(
'cat /proc/cpuinfo | grep "MHz" | sort -u | cut -d: -f2'), 0);
432 return exec(
'cat /proc/cpuinfo | grep "bogomips" | sort -u | cut -d: -f2');
442 return exec(
'cat /proc/meminfo | grep "MemTotal" | sort -u | cut -d: -f2');
452 return exec(
'cat /proc/meminfo | grep "MemFree" | sort -u | cut -d: -f2');
462 return exec(
'cat /proc/cpuinfo | grep "model name" | sort -u | cut -d: -f2');
472 return round(disk_total_space(
'/') / 1024 / 1024, 0) .
' GiB';
482 return round(disk_free_space(
'/') / 1024 / 1024, 0) .
' GiB';
504 return $aResult[
'Value'];