示例#1
0
 /**
  * Step #2: Pre-Installation Check
  * @param $request
  */
 public function executeStep2(sfWebRequest $request)
 {
     if ($request->isMethod('post')) {
         // if there is a blocking error return to the same page
         if ($this->getRequestParameter('error')) {
             return sfView::SUCCESS;
         }
         $this->getUser()->setAttribute('step', 3);
         $this->redirect($this->next);
     }
     $this->checks_required = Checks::getRequired();
     $this->checks_recommended = Checks::getRecommended();
     $this->checks_fileperms = Checks::getFilePerms();
 }