True, 'nonavbar' => True, 'currentapp' => 'admin' ); include('../header.inc.php'); if ($GLOBALS['egw']->acl->check('info_access',1,'admin')) { $GLOBALS['egw']->redirect_link('/index.php'); } $cache_provider = Api\Cache::getProvider(); $cache_info = ''; $cache_info .= '
EGroupware caching provider'.Api\Cache::getProvider(); if ($cache_provider == 'EGroupware\\Api\\Cache\\Apcu') { $cache_info .= ' View APCu stats'; } $cache_info .= '
'."\n"; ob_start(); phpinfo(); $phpinfo = ob_get_clean(); $info = str_ireplace('
', '
'."\n".$cache_info, $phpinfo); if ($info == $phpinfo) { echo $cache_info; } echo $info;