Simple PHP api for SnipeIT app. Not maintained anymore; check out BinStack instead: https://source.netsyms.com/Business/BinStack and https://netsyms.biz/binstack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

database.php 356B

123456789101112131415
  1. <?php
  2. /**
  3. * Database configuration. If running on the same machine as snipeit,
  4. * you can probably use the same settings here.
  5. */
  6. $database = new medoo(
  7. [
  8. 'database_type' => 'mysql',
  9. 'database_name' => 'snipeit',
  10. 'server' => 'localhost',
  11. 'username' => 'snipeit',
  12. 'password' => 'snipeit',
  13. 'charset' => 'utf8'
  14. ]
  15. );