install/includes/libenanoinstall.php
changeset 1182 58af2268331b
parent 1144 fcb2be1428e7
child 1183 15957df91ea4
equal deleted inserted replaced
1181:91911e183685 1182:58af2268331b
    13  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
    13  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
    14  */
    14  */
    15 
    15 
    16 $neutral_color = 'C';
    16 $neutral_color = 'C';
    17 
    17 
       
    18 // Chat log from the night of the 1.1.7 release:
       
    19 // (09:08:20 PM) Neal: btw, did you figure out what caused the PHP fatal error in the 1.1.7
       
    20 //                     trunk for the CLI autoinstall script for the BitNami installer?
       
    21 // (09:08:38 PM) Dan: oh
       
    22 // (09:08:40 PM) Dan: eh
       
    23 // (09:08:45 PM) Dan: yeah i'll fix that real quick
       
    24 
       
    25 // Hence, the function_exists check.
       
    26 
       
    27 if ( !function_exists('run_installer_stage') ):
    18 function run_installer_stage($stage_id, $stage_name, $function, $failure_explanation, $allow_skip = true)
    28 function run_installer_stage($stage_id, $stage_name, $function, $failure_explanation, $allow_skip = true)
    19 {
    29 {
    20   static $resumed = false;
    30   static $resumed = false;
    21   static $resume_stack = array();
    31   static $resume_stack = array();
    22   
    32   
    58   {
    68   {
    59     echo_stage_failure($stage_id, $stage_name, $failure_explanation, $resume_stack);
    69     echo_stage_failure($stage_id, $stage_name, $failure_explanation, $resume_stack);
    60     return false;
    70     return false;
    61   }
    71   }
    62 }
    72 }
       
    73 endif;
    63 
    74 
    64 function start_install_table()
    75 function start_install_table()
    65 {
    76 {
    66   echo '<table border="0" cellspacing="0" cellpadding="0" style="margin-top: 10px;">' . "\n";
    77   echo '<table border="0" cellspacing="0" cellpadding="0" style="margin-top: 10px;">' . "\n";
    67 }
    78 }