Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- cat << EOF > ./config.ini.php
- <?php exit(); ?>
- #################### DO NOT MODIFY OR REMOVE THE LINE ABOVE ####################
- ################################################################################
- # LOVD settings file #
- # v. 3.0 #
- ################################################################################
- # #
- # Lines starting with # are comments and ignored by LOVD, as are empty lines. #
- # #
- # Default values of directives are mentioned when applicable. To keep the #
- # default settings, leave the line untouched. #
- # #
- ################################################################################
- [database]
- # Database driver. Defaults to 'mysql'.
- driver = mysql
- # Database host. Defaults to 'localhost'.
- #
- hostname = ${LOVD_DB_HOST}
- # Database username and password (required for MySQL).
- #
- username = ${LOVD_DB_USER}
- password = ${LOVD_DB_PASSWORD}
- # Database name (required). When using SQLite, specify the filename here.
- #
- database = ${LOVD_DB_NAME}
- # This is for the table prefixes; if you wish to install more than one LOVD
- # system per database, use different directories for these installations and
- # change the setting below to a unique value.
- # Please use alphanumeric characters only. Defaults to 'lovd'.
- #
- table_prefix = lovd_v3
- EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement