Ver Fonte

Updating index.php from 1.10.

Julio Montoya há 11 anos atrás
pai
commit
2b22c77313
1 ficheiros alterados com 9 adições e 16 exclusões
  1. 9 16
      main/install/index.php

+ 9 - 16
main/install/index.php

@@ -116,23 +116,16 @@ $console->addCommands(
         new \Doctrine\DBAL\Migrations\Tools\Console\Command\StatusCommand(),
         new \Doctrine\DBAL\Migrations\Tools\Console\Command\VersionCommand(),
 
-        // Chamilo commands.
-        new ChamiloLMS\Command\Database\UpgradeCommand(),
-        new ChamiloLMS\Command\Database\InstallCommand(),
-        new ChamiloLMS\Command\Database\StatusCommand(),
-        new ChamiloLMS\Command\Database\SetupCommand(),
-
         // Chash commands.
-        /*new Chash\Command\Database\RunSQLCommand(),
-        new Chash\Command\Database\DumpCommand(),
-        new Chash\Command\Database\RestoreCommand(),
-        new Chash\Command\Database\SQLCountCommand(),
-        new Chash\Command\Database\FullBackupCommand(),
-        new Chash\Command\Database\DropDatabaseCommand(),
+        new Chash\Command\Installation\UpgradeCommand(),
+        new Chash\Command\Installation\InstallCommand(),
+
+        new Chash\Command\Files\CleanDataFilesCommand(),
         new Chash\Command\Files\CleanTempFolderCommand(),
-        new Chash\Command\Files\CleanConfigFiles(),
-        new Chash\Command\Translation\ExportLanguageCommand(),
-        new Chash\Command\Translation\ImportLanguageCommand()*/
+        new Chash\Command\Files\CleanConfigFilesCommand(),
+        new Chash\Command\Files\MailConfCommand(),
+        new Chash\Command\Files\SetPermissionsAfterInstallCommand(),
+        new Chash\Command\Files\GenerateTempFileStructureCommand(),
     )
 );
 
@@ -361,7 +354,7 @@ $app->match('/resume', function() use($app) {
     if (!empty($portalSettings) && !empty($databaseSettings) && !empty($adminSettings)) {
 
         $form = $app['form.factory']->createBuilder('form', $data)
-            ->add('install', 'submit', array('label' => 'Continue'))
+            ->add('install', 'submit', array('label' => 'Install'))
             ->getForm();
 
         if ('POST' == $request->getMethod()) {