diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-30 21:30:45 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-30 21:30:45 +0100 |
commit | d1495dd0a456f0e35a09fb68679ee51f8d17bfe4 (patch) | |
tree | a819eec38d3d8b880460cbaca42b6e08b073585a /src/Wallabag/CoreBundle/Command/InstallCommand.php | |
parent | 309e13c11b54277626f18616c41f68ae9656a403 (diff) | |
download | wallabag-d1495dd0a456f0e35a09fb68679ee51f8d17bfe4.tar.gz wallabag-d1495dd0a456f0e35a09fb68679ee51f8d17bfe4.tar.zst wallabag-d1495dd0a456f0e35a09fb68679ee51f8d17bfe4.zip |
Ability to enable/disable downloading images
This will speed up the test suite because it won’t download everything when we add new entry…
Add a custom test with downloading image enabled
Diffstat (limited to 'src/Wallabag/CoreBundle/Command/InstallCommand.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/InstallCommand.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index 277f8524..aedccfe4 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php | |||
@@ -398,6 +398,21 @@ class InstallCommand extends ContainerAwareCommand | |||
398 | 'value' => 'wallabag', | 398 | 'value' => 'wallabag', |
399 | 'section' => 'misc', | 399 | 'section' => 'misc', |
400 | ], | 400 | ], |
401 | [ | ||
402 | 'name' => 'download_images_enabled', | ||
403 | 'value' => '0', | ||
404 | 'section' => 'image', | ||
405 | ], | ||
406 | [ | ||
407 | 'name' => 'download_images_with_rabbitmq', | ||
408 | 'value' => '0', | ||
409 | 'section' => 'image', | ||
410 | ], | ||
411 | [ | ||
412 | 'name' => 'download_images_with_redis', | ||
413 | 'value' => '0', | ||
414 | 'section' => 'image', | ||
415 | ], | ||
401 | ]; | 416 | ]; |
402 | 417 | ||
403 | foreach ($settings as $setting) { | 418 | foreach ($settings as $setting) { |