Vergleich inc/functions_serverstats.php - 1.8.18 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 51Zeile 51

// MySQL Version
$info['mysql'] = 0;


// MySQL Version
$info['mysql'] = 0;

	if(array_key_exists('mysql', $phpinfo))

	if(isset($phpinfo['mysql']['Client API version']))

	{
$info['mysql'] = $phpinfo['mysql']['Client API version'];
}

// PostgreSQL Version
$info['pgsql'] = 0;

	{
$info['mysql'] = $phpinfo['mysql']['Client API version'];
}

// PostgreSQL Version
$info['pgsql'] = 0;

	if(array_key_exists('pgsql', $phpinfo))

	if(isset($phpinfo['pgsql']['PostgreSQL(libpq) Version']))

	{
$info['pgsql'] = $phpinfo['pgsql']['PostgreSQL(libpq) Version'];
}

// SQLite Version
$info['sqlite'] = 0;

	{
$info['pgsql'] = $phpinfo['pgsql']['PostgreSQL(libpq) Version'];
}

// SQLite Version
$info['sqlite'] = 0;

	if(array_key_exists('sqlite', $phpinfo))

	if(isset($phpinfo['sqlite']['SQLite Library']))

	{
$info['sqlite'] = $phpinfo['sqlite']['SQLite Library'];
}

// Iconv Library Extension Version
$info['iconvlib'] = 0;

	{
$info['sqlite'] = $phpinfo['sqlite']['SQLite Library'];
}

// Iconv Library Extension Version
$info['iconvlib'] = 0;

	if(array_key_exists('iconv', $phpinfo))

	if(isset($phpinfo['iconv']['iconv implementation'], $phpinfo['iconv']['iconv library version']))

	{
$info['iconvlib'] = html_entity_decode($phpinfo['iconv']['iconv implementation'])."|".$phpinfo['iconv']['iconv library version'];
}

// Check GD & Version
$info['gd'] = 0;

	{
$info['iconvlib'] = html_entity_decode($phpinfo['iconv']['iconv implementation'])."|".$phpinfo['iconv']['iconv library version'];
}

// Check GD & Version
$info['gd'] = 0;

	if(array_key_exists('gd', $phpinfo))

	if(isset($phpinfo['gd']['GD Version']))

	{
$info['gd'] = $phpinfo['gd']['GD Version'];
}

	{
$info['gd'] = $phpinfo['gd']['GD Version'];
}