25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

37 satır
1.4KB

  1. <?php
  2. /**
  3. * Plugin configuration.
  4. *
  5. * In this file, you configure which plugins are loaded in the different states your app can be.
  6. * It's loaded via the `parent::bootstrap();` call inside your `Application::bootstrap()` method.
  7. * For more information see https://book.cakephp.org/5/en/plugins.html#loading-plugins-via-configuration-array
  8. *
  9. * CakePHP(tm) : Rapid Development Framework (https://cakephp.org)
  10. * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
  11. *
  12. * Licensed under The MIT License
  13. * For full copyright and license information, please see the LICENSE.txt
  14. * Redistributions of files must retain the above copyright notice.
  15. *
  16. * @copyright Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
  17. * @link https://cakephp.org CakePHP(tm) Project
  18. * @since 5.0.0
  19. * @license https://opensource.org/licenses/mit-license.php MIT License
  20. */
  21. /*
  22. * List of plugins to load in the form `PluginName` => `[configuration options]`.
  23. *
  24. * Available options:
  25. * - onlyDebug: Load the plugin only in debug mode. Default false.
  26. * - onlyCli: Load the plugin only in CLI mode. Default false.
  27. * - optional: Do not throw an exception if the plugin is not found. Default false.
  28. */
  29. return [
  30. 'DebugKit' => ['onlyDebug' => true],
  31. 'Bake' => ['onlyCli' => true, 'optional' => true],
  32. 'Migrations' => ['onlyCli' => true],
  33. // Additional plugins here
  34. ];

Powered by TurnKey Linux.