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
# IDE settings
.idea
.idea/*
.idea/dictionaries/*
.idea/cssxfire.xml
*.orig
nbproject/*

@ -1,5 +1,5 @@
<?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
*/

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

Loading…
Cancel
Save