Show
Ignore:
Timestamp:
08/20/08 17:57:11 (5 months ago)
Author:
dduponchelle
Message:

Test added during the first step of the installation.
Now, the browser must authorize cookies to proceed with the installation.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/centreon/www/install/setup.php

    r5226 r6210  
    3131        $msg = NULL; 
    3232        $return_false = NULL; 
    33  
     33    
     34    if (isset($_POST["step"]) && $_POST["step"] == 2 && isset($_POST["Restart"])) 
     35         $_POST["step"] = NULL; 
    3436        if (isset($_POST["step"]) && $_POST["step"] == 4 && isset($_POST["Recheck"])) 
    3537                 $_POST["step"] = 3; 
     
    4042        if (isset($_POST["step"]) && $_POST["step"] == 10 && isset($_POST["Recheck"])) 
    4143                 $_POST["step"] = 9; 
    42 /*      if (isset($_POST["install_missing_pear_module"]) && isset($_POST["pear_module"]) && $_POST["step"] == 5) { 
    43 /                $_POST["step"] = 4; 
    44  
    45                 exec('sudo pear install '. $pear_module["$package_file"]); 
    46  
    47         }*/ 
    4844 
    4945        if (isset($_POST["goto"]) && !strcmp($_POST["goto"], "Back"))