Exemplo n.º 1
0
     } else {
         $page->Paragraph('Contact your webserver support (hosting service) to get the necessary PHP settings fixed.');
         $page->FormStart(array('step' => STEP_PHPREQUIRES));
         $prev = GetPrevStep(STEP_PHPREQUIRES);
         if ($prev) {
             $page->FormButton('Back', array('step' => $prev));
         }
         $page->FormSubmit('Retry');
         $page->FormClose();
     }
     // If there are some modules not detected, or this step should not be
     // auto skipped and $step is currently set to view this step
     if (!($phpversion && $extensions && $directives) || !$steps[STEP_PHPREQUIRES]['ishidden'] && $step == STEP_PHPREQUIRES) {
         $page->ShowPage(STEP_PHPREQUIRES);
     } else {
         $page->ClearHtmlQueue();
     }
 }
 /* ===================================================[ FILE I/O PERMISSIONS ]=================================================== */
 // Only continue if IO should be checked. The installer might
 // be configured to only install sql tables (though unlikely)
 if ($steps[STEP_IOFILES]['enabled']) {
     $ioable = true;
     $results = array();
     $idx = 0;
     // Begin the page
     $page->MainTitle($steps[STEP_IOFILES]['title'], 'filelocked');
     // Get all configs and see if they can be written to file,
     // and if their folders can be created and are writeable
     $maskfiles = $steps[STEP_WRITECONFIG]['configs'];
     foreach ($maskfiles as $conf) {