first digging

skala
Luis Cordova 12 years ago
parent 0e59806f28
commit a954a6f2d7
  1. 4
      .gitignore
  2. 2
      config/configuration.dist.yml.php
  3. 12
      src/ChamiloLMS/Command/Template/AsseticDumpCommand.php

4
.gitignore vendored

@ -22,11 +22,7 @@ logs/*
*.log *.log
# IDE settings # IDE settings
.idea .idea
.idea/*
.idea/dictionaries/*
.idea/cssxfire.xml
*.orig *.orig
nbproject/* nbproject/*

@ -1,5 +1,5 @@
<?php <?php
/** This script is only use when using the console.php chamilo:install command */ /** This script is only used when using the console.php chamilo:install command */
/** /**
* Database settings * Database settings
*/ */

@ -28,7 +28,7 @@ class AsseticDumpCommand extends Command
/** /**
* @param Console\Input\InputInterface $input * @param Console\Input\InputInterface $input
* @param Console\Output\OutputInterface $output * @param Console\Output\OutputInterface $output
* @return int|null|void * @return integer|null|boolean|void
*/ */
protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output) protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output)
{ {
@ -49,10 +49,10 @@ class AsseticDumpCommand extends Command
if (empty($theme)) { if (empty($theme)) {
$dialog = $this->getHelperSet()->get('dialog'); $dialog = $this->getHelperSet()->get('dialog');
if (!$dialog->askConfirmation( if (!$dialog->askConfirmation(
$output, $output,
'<question>Are you sure you want to dump css/js of all themes?</question>(y/N)', '<question>Are you sure you want to dump css/js of all themes?</question>(y/N)',
false false
) )
) { ) {
return; return;
} }
@ -89,5 +89,7 @@ class AsseticDumpCommand extends Command
} }
} }
$output->writeln('<info>Dump finished</info>'); $output->writeln('<info>Dump finished</info>');
return true;
} }
} }

Loading…
Cancel
Save