setting.php 629 B

1234567891011121314151617181920
  1. <?php declare(strict_types=1);
  2. /**
  3. * DuckPHP
  4. * From this time, you never be alone~
  5. */
  6. return [
  7. 'duckphp_is_debug' => true, // turn on ,for test er ,don't turn on the debug again
  8. 'duckphp_platform' => 'default',
  9. 'database' => [
  10. //'dsn' => 'mysql:host=172.19.0.3;dbname=hello_world;',
  11. //'dsn' => 'mysql:host=127.0.0.1;dbname=hello_world;',
  12. 'dsn' => 'mysql:host=tfb-database;dbname=hello_world;',
  13. 'username' => 'benchmarkdbuser',
  14. 'password' => 'benchmarkdbpass',
  15. 'driver_options' => [
  16. PDO::ATTR_PERSISTENT => true
  17. ],
  18. ],
  19. ];