$b->add('Protocol', Http::Protocol(), null, null, 'Gets the protocol HTTP.'); $b->add('Real IP', Http::RealIP(), null, null, 'Gets real ip address of the server.'); $b->add('Authorization', Http::Authorization(), null, null, 'Checks authorization via http.'); $b->add('Sessions', Http::Sessions(), null, null, 'Checks work sessions via http.'); $b->add('SSL', Http::SSL('www.google.com'), null, null, 'Checks operation ssl via http.'); $b->add('SSL Lib Version', Http::SSLLibVersion(), null, null, 'Checks ssl Version.'); $b->add('Local Redirect', Http::LocalRedirect(), null, null, 'Checks work local redirect via http.'); $b->addHeader('File system.'); $b->add('Disk Space', FileSystem::DiskSpace(), '255', '<', 'Checking disk space.'); $b->add('Permissions Folder', FileSystem::PermissionsFolder(), '0777', '>', 'Checking access rights to the folder.'); $b->add('Folder Creation', FileSystem::FolderCreation(), true, '=', 'Checking folder creation.'); $b->add('Folder Deletion', FileSystem::FolderDeletion(), true, '=', 'Checking delete the folder.'); $b->add('Permissions Folder Creation', FileSystem::PermissionsFolderCreation(), null, null, 'Checking access rights to the new folder.'); $b->add('File Creation', FileSystem::FileCreation(), null, null, 'Checking file creation.'); $b->add('File Deletion', FileSystem::FileDeletion(), true, '=', 'Checking delete the file.'); $b->add('Permissions File Creation', FileSystem::PermissionsFileCreation(), null, null, 'Checking access rights to the new file.'); $b->add('File Execution', FileSystem::FileExecution(), true, '=', 'Checking the execution file.'); $b->add('Processing Htaccess', FileSystem::ProcessingHtaccess(), true, '=', 'Checking processing htaccess.'); $b->add('Time To Create 1000 File', FileSystem::TimeToCreateFile(1000), 1, '<', 'Checking the time required to create the file.'); $b->add('File Uploads', FileSystem::FileUploads(), null, null, 'Checking upload files to the server.'); if (isset($platformdb['driver']) && isset($platformdb['host']) && isset($platformdb['user']) && isset($platformdb['password']) && isset($platformdb['dbname'])) { $db = new DB($platformdb['user'], $platformdb['password'], $platformdb['dbname'], $platformdb['host'], $platformdb['driver']); $b->addHeader('Data Base.'); $b->add('Version', $db->Version()); $b->add('UpTime', $db->UpTime(), null, null, 'Working time database startup.'); $b->add('Global Buffers', $db->GlobalBuffers(), null, null, 'Size of global buffers.'); $b->add('Connection Buffers', $db->ConnectionBuffers(), null, null, 'Single connection buffer size.'); $b->add('Sql Mode', $db->SqlMode()); $b->add('Max Connections', $db->MaxConnections(), null, null, 'Max. connections.'); $b->add('Max Memory Usage', $db->MaxMemoryUsage(), null, null, 'Maximum memory usage.'); $b->add('Request Cache Size', $db->RequestCacheSize(), null, null, 'Request cache size.');