1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/itflow_ynh.git synced 2024-09-03 19:26:24 +02:00
This commit is contained in:
Éric Gaspar 2023-10-04 19:20:48 +02:00
parent 40d2e45d01
commit c13545c1c3
2 changed files with 17 additions and 4 deletions

View file

@ -0,0 +1,13 @@
<?php
$dbhost = 'localhost';
$dbusername = '__DB_USER__';
$dbpassword = '__DB_PWD__';
$database = '__DB_NAME__';
$mysqli = mysqli_connect($dbhost, $dbusername, $dbpassword, $database) or die('Database Connection Failed');
$config_app_name = 'ITFlow';
$config_base_url = '__DOMAIN____PATH__';
$config_https_only = TRUE;
$repo_branch = 'master';
$installation_id = 'BmBuGzc3WzV33egS36g0K3miyQGWOfKP';
$config_enable_setup = 0;

View file

@ -41,12 +41,12 @@ chmod 644 "/etc/cron.d/$app"
#================================================= #=================================================
# ADD A CONFIGURATION # ADD A CONFIGURATION
#================================================= #=================================================
#ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_script_progression --message="Adding a configuration file..." --weight=1
#ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php"
#chmod 400 "$install_dir/config.php" chmod 644 "$install_dir/config.php"
#chown $app:$app "$install_dir/config.php" chown $app:$app "$install_dir/config.php"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT