From 3d65369d74b54588212edc45265459e6bb452ce0 Mon Sep 17 00:00:00 2001 From: anmol Date: Fri, 5 Apr 2019 21:41:14 +0530 Subject: [PATCH] Add zap protocol in config file --- conf/zap.php | 1 + scripts/install | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 conf/zap.php diff --git a/conf/zap.php b/conf/zap.php new file mode 100644 index 0000000..df2ff61 --- /dev/null +++ b/conf/zap.php @@ -0,0 +1 @@ +define('NOMADIC',1); diff --git a/scripts/install b/scripts/install index 708d837..234cf73 100755 --- a/scripts/install +++ b/scripts/install @@ -169,6 +169,8 @@ sudo sed -i "s@//ini_set('display_errors', '0');@ini_set('display_errors', '0'); ynh_print_info "Push Ldap configuration to .htconfig.php..." sudo su -c "cat ../conf/ldap_conf.php >> $final_path/.htconfig.php" +# Addon Zap protocol (currently the if zap config is not pusshed in the config file, Osada protocol is taken by default) +sudo su -c "cat ../conf/zap.php >> $final_path/.htconfig.php" #================================================= # NGINX CONFIGURATION