<?php include 'webdev/start.php'; $wd = new WebDev(); //$html=$wd->getModulesListForInstallHtml();echo $html;exit; //$wd->addModuleGroup('Web-servers','web servers'); //echo '<pre>',$wd->getJailTemplate('jail9');exit; if ($_SERVER['REQUEST_METHOD'] == 'POST') { $wd->updateModulesGroups($_POST); header('Location: /groups.php'); exit; } ?> <html> <head> <style>body{margin:0 auto;width:600px;} p{margin:2px;border-bottom:1px solid #f0f0f0;}</style> </head> <h1>Select groups for modules:</h1> <form method="post" name="groupsUpdate"> <?php $ml = $wd->updatePkgGroupsLink(); $groups = $wd->getPackagesGroupsList(); $pkg_groups_link = $wd->getPkgGroupsLink(); /* $pkg=$wd->getAllPackagesList(); echo '<pre>';print_r($pkg);exit; */ //echo '<pre>';print_r($pkg_groups_link);exit; //echo '<pre>';print_r($groups); if (!empty($pkg_groups_link)) { foreach ($pkg_groups_link as $item) {
<?php $I = new WebDev($scenario); $I->wantTo('verify all default pages load'); $I->amOnPage('/'); $I->amOnPage('/register'); $I->amOnPage('/forgot'); $I->amOnPage('/login'); $I->amOnPage('/blog');