Пример #1
0
     $JPConfiguration = JoomlapackConfiguration::getInstance();
     @ob_end_clean();
     // In case some braindead mambot spits its own HTML despite no_html=1
     header('Content-type: text/plain');
     header('Content-Disposition: attachment; filename="joomlapacklog.txt"');
     @readfile(JoomlapackAbstraction::TranslateWinPath($JPConfiguration->get('OutputDirectory') . DS . 'joomlapack.log'));
     $skipFooter = true;
     break;
 case "unlock":
     jpackScreens::fUnlock();
     break;
 case "multidb":
     jpackScreens::fMultiDB();
     break;
 case "sff":
     jpackScreens::fFileExclusion();
     break;
 case "configmigrate":
     if ($task == 'export') {
         $skipFooter = true;
     }
     jpackScreens::fConfigMigrate();
     break;
 case "cpanel":
 default:
     if (!JoomlapackAbstraction::isSAJAX()) {
         echo '<link rel="stylesheet" href="components/' . $option . '/assets/css/jpcss.css" type="text/css" />';
     }
     // Application status check
     jpackScreens::fMain();
     break;