Advertisement
Guest User

Untitled

a guest
Jun 1st, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. #!/bin/bash
  2. cat << EOF > ./config.ini.php
  3. <?php exit(); ?>
  4. #################### DO NOT MODIFY OR REMOVE THE LINE ABOVE ####################
  5. ################################################################################
  6. # LOVD settings file #
  7. # v. 3.0 #
  8. ################################################################################
  9. # #
  10. # Lines starting with # are comments and ignored by LOVD, as are empty lines. #
  11. # #
  12. # Default values of directives are mentioned when applicable. To keep the #
  13. # default settings, leave the line untouched. #
  14. # #
  15. ################################################################################
  16.  
  17.  
  18.  
  19. [database]
  20.  
  21. # Database driver. Defaults to 'mysql'.
  22. driver = mysql
  23.  
  24. # Database host. Defaults to 'localhost'.
  25. #
  26. hostname = ${LOVD_DB_HOST}
  27.  
  28. # Database username and password (required for MySQL).
  29. #
  30. username = ${LOVD_DB_USER}
  31. password = ${LOVD_DB_PASSWORD}
  32.  
  33. # Database name (required). When using SQLite, specify the filename here.
  34. #
  35. database = ${LOVD_DB_NAME}
  36.  
  37. # This is for the table prefixes; if you wish to install more than one LOVD
  38. # system per database, use different directories for these installations and
  39. # change the setting below to a unique value.
  40. # Please use alphanumeric characters only. Defaults to 'lovd'.
  41. #
  42. table_prefix = lovd_v3
  43.  
  44. EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement