Ejemplo n.º 1
0
             break;
         case "Disable":
             if (!$overwrite_files) {
                 $GLOBALS['mi_overwrite_files'] = false;
             } else {
                 $GLOBALS['mi_overwrite_files'] = true;
             }
             $mi->disable("{$unzip_dir}");
             break;
         case "Enable":
             if (!$overwrite_files) {
                 $GLOBALS['mi_overwrite_files'] = false;
             } else {
                 $GLOBALS['mi_overwrite_files'] = true;
             }
             $mi->enable("{$unzip_dir}");
             break;
         default:
             break;
     }
     $file = "{$unzip_dir}/" . constant('SUGARCRM_POST_INSTALL_FILE');
     if (is_file($file)) {
         print "{$mod_strings['LBL_UW_INCLUDING']}: {$file} <br>\n";
         include $file;
         post_install();
     }
     break;
 case "full":
     // purposely flow into "case: patch"
 // purposely flow into "case: patch"
 case "patch":