mirror of
https://github.com/YunoHost-Apps/phpipam_ynh.git
synced 2024-09-03 19:56:39 +02:00
commit
94e347927e
8 changed files with 9 additions and 7 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Web IP address management application
|
||||
|
||||
**Shipped version:** 1.4.5~ynh1
|
||||
**Shipped version:** 1.4.6~ynh1
|
||||
|
||||
**Demo:** http://demo.phpipam.net
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Application web de gestion d'adresses IP
|
||||
|
||||
**Version incluse :** 1.4.5~ynh1
|
||||
**Version incluse :** 1.4.6~ynh1
|
||||
|
||||
**Démo :** http://demo.phpipam.net
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/phpipam/phpipam/releases/download/v1.4.4/phpipam-v1.4.4.zip
|
||||
SOURCE_SUM=0baa77f135bbf72b138c58e50d58046eaaad722a96f09d3e148b61c5cd5f071f
|
||||
SOURCE_URL=https://github.com/phpipam/phpipam/releases/download/v1.4.6/phpipam-v1.4.6.zip
|
||||
SOURCE_SUM=65ad33c124fc83ca1a3ba386bbc1e6d8fb611b2ccaa4c6e8a1d864bcde4122de
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* database connection details
|
||||
******************************/
|
||||
$db['host'] = 'localhost';
|
||||
$db['user'] = '__DB_NAME__';
|
||||
$db['user'] = '__DB_USER__';
|
||||
$db['pass'] = '__DB_PWD__';
|
||||
$db['name'] = '__DB_NAME__';
|
||||
$db['port'] = 3306;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Web IP address management application",
|
||||
"fr": "Application web de gestion d'adresses IP"
|
||||
},
|
||||
"version": "1.4.5~ynh1",
|
||||
"version": "1.4.6~ynh1",
|
||||
"url": "https://phpipam.net/",
|
||||
"upstream": {
|
||||
"license": "GPL-3.0-only",
|
||||
|
|
|
@ -28,6 +28,7 @@ ynh_script_progression --message="Loading installation settings..." --weight=1
|
|||
|
||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||
db_user=$db_name
|
||||
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -45,7 +45,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=1
|
|||
|
||||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||
ynh_app_setting_set --app=$app --key=phpversion --value=$phpversion
|
||||
|
||||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
|
@ -100,6 +99,7 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
|
|||
|
||||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config
|
||||
ynh_app_setting_set --app=$app --key=phpversion --value=$phpversion
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
|
|
|
@ -20,6 +20,7 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
|
|||
path_url=$(ynh_app_setting_get --app=$app --key=path)
|
||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||
db_user=$db_name
|
||||
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
|
||||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||
|
||||
|
|
Loading…
Reference in a new issue