70 $this->_aFileCheckerPathList = $aPathList;
90 $this->_aFileCheckerExtensionList = $aExtList;
111 if ( !empty( $sVersion ) ) {
112 $this->_sVersion = $sVersion;
133 if ( !empty( $sEdition ) ) {
134 $this->_sEdition = $sEdition;
155 if ( !empty( $sRevision ) ) {
156 $this->_sRevision = $sRevision;
178 if ( !empty( $sShopLink ) ) {
179 $this->_sShopLink = $sShopLink;
200 $aShopDetails = array(
206 'Subshops (Total)' => $this->
_countRows(
'oxshops',
true ),
207 'Subshops (Active)' => $this->
_countRows(
'oxshops',
false ),
208 'Categories (Total)' => $this->
_countRows(
'oxcategories',
true ),
209 'Categories (Active)' => $this->
_countRows(
'oxcategories',
false ),
210 'Articles (Total)' => $this->
_countRows(
'oxarticles',
true ),
211 'Articles (Active)' => $this->
_countRows(
'oxarticles',
false ),
212 'Users (Total)' => $this->
_countRows(
'oxuser',
true ),
215 return $aShopDetails;
228 $sRequest =
'SELECT COUNT(*) FROM '.$sTable;
230 if ( $blMode ==
false){
231 $sRequest .=
' WHERE oxactive = 1';
234 $aRes = $oDb->execute( $sRequest)->fields(0);
247 $aPhpIniParams = array(
251 'max_execution_time',
255 'upload_max_filesize',
258 $aPhpIniConf = array();
260 foreach ( $aPhpIniParams as $sParam ){
261 $sValue = ini_get( $sParam );
262 $aPhpIniConf[$sParam] = $sValue;
279 if ( function_exists(
'zend_optimizer_version' ) )
281 $sReturn .=
'Optimizer';
284 if ( function_exists(
'zend_loader_enabled' ) )
286 $sReturn .=
'Guard Loader';
303 $iCpuAmnt = $iCpuMhz = $iBogo = $iMemTotal = $iMemFree = $sCpuModelName = $sCpuModel = $sCpuFreq = $iCpuCores = null;
314 $sCpuModel = $iCpuAmnt.
'x '.$sCpuModelName;
315 $sCpuFreq = $iCpuMhz.
' MHz';
318 if ( $iBogo && $iCpuMhz ){
319 $iCpuCores = $iBogo / $iCpuMhz;
323 $aServerInfo = array(
324 'Server OS' => @php_uname(
's'),
331 'Memory total' => $iMemTotal,
332 'Memory free' => $iMemFree,
333 'CPU Model' => $sCpuModel,
334 'CPU frequency' => $sCpuFreq,
335 'CPU cores' => round( $iCpuCores,0),
348 if ( function_exists(
'apache_get_version' ) ){
349 $sReturn = apache_get_version();
351 $sReturn = $_SERVER[
'SERVER_SOFTWARE'];
370 $sSystemType =
'VMWare';
371 unset( $sDeviceList );
377 $sSystemType =
'VirtualBox';
378 unset( $sDeviceList );
392 return function_exists(
'exec' );
403 return exec(
'lspci | grep -i '. $sSystemType );
414 return exec(
'cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l');
424 return round(exec(
'cat /proc/cpuinfo | grep "MHz" | sort -u | cut -d: -f2'),0);
434 return exec(
'cat /proc/cpuinfo | grep "bogomips" | sort -u | cut -d: -f2');
444 return exec(
'cat /proc/meminfo | grep "MemTotal" | sort -u | cut -d: -f2');
454 return exec(
'cat /proc/meminfo | grep "MemFree" | sort -u | cut -d: -f2');
464 return exec(
'cat /proc/cpuinfo | grep "model name" | sort -u | cut -d: -f2');
474 return round( disk_total_space(
'/') / 1024 / 1024 , 0 ) .
' GiB';
484 return round(disk_free_space(
'/') / 1024 / 1024, 0) .
' GiB';
505 return $aResult[
'Value'];