diff --git a/htdocs/admin/geoipmaxmind.php b/htdocs/admin/geoipmaxmind.php index 2b72a4395ca..df082ed4881 100644 --- a/htdocs/admin/geoipmaxmind.php +++ b/htdocs/admin/geoipmaxmind.php @@ -90,7 +90,7 @@ if (! empty($conf->global->GEOIPMAXMIND_COUNTRY_DATAFILE)) } else { - if (function_exists('geoip_country_code_by_name')) $geointernal=true; + if (function_exists('geoip_country_code_by_name')) $geointernal=true; } // Mode diff --git a/htdocs/admin/system/perf.php b/htdocs/admin/system/perf.php index f0f95b62d15..9a270d2a5c2 100644 --- a/htdocs/admin/system/perf.php +++ b/htdocs/admin/system/perf.php @@ -22,8 +22,8 @@ require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/memory.lib.php'; -require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; -require_once DOL_DOCUMENT_ROOT.'/core/lib/geturl.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; +require_once DOL_DOCUMENT_ROOT.'/core/lib/geturl.lib.php'; $langs->load("admin"); $langs->load("install"); @@ -55,18 +55,18 @@ print $langs->trans("YouMayFindPerfAdviceHere",'http://wiki.dolibarr.org/index.p print '
'; print ''.$langs->trans("XDebug").': '; $test=!function_exists('xdebug_is_enabled'); -if ($test) print img_picto('','tick.png').' '.$langs->trans("NotInstalled"); +if ($test) print img_picto('','tick.png').' '.$langs->trans("NotInstalled"); else { print img_picto('','warning').' '.$langs->trans("XDebugInstalled"); print $langs->trans("MoreInformation").' XDebug admin page'; -} -print '
'; +} +print '
'; // Applicative cache -print '
'; -print ''.$langs->trans("ApplicativeCache").': '; -$test=!empty($conf->memcached->enabled); +print '
'; +print ''.$langs->trans("ApplicativeCache").': '; +$test=!empty($conf->memcached->enabled); if ($test) { if (!empty($conf->global->MEMCACHED_SERVER)) @@ -78,28 +78,28 @@ if ($test) { print img_picto('','warning').' '.$langs->trans("MemcachedModuleAvailableButNotSetup"); } -} -else print img_picto('','warning').' '.$langs->trans("MemcachedNotAvailable"); +} +else print img_picto('','warning').' '.$langs->trans("MemcachedNotAvailable"); print '
'; // OPCode cache -print '
'; +print '
'; print ''.$langs->trans("OPCodeCache").': '; -$test1=function_exists('xcache_info'); +$test1=function_exists('xcache_info'); if ($test1) { print img_picto('','tick.png').' '.$langs->trans("XCacheInstalled"); - print $langs->trans("MoreInformation").' Xcache admin page'; -} + print $langs->trans("MoreInformation").' Xcache admin page'; +} else { $test2=function_exists('eaccelerator_info'); if ($test2) print img_picto('','tick.png').' '.$langs->trans("EAcceleratorInstalled"); else print $langs->trans("NoOPCodeCacheFound"); -} -print '
'; +} +print '
'; -// HTTPCacheStaticResources +// HTTPCacheStaticResources print '