diff --git a/scripts/install b/scripts/install index 72f88d3..ab58531 100644 --- a/scripts/install +++ b/scripts/install @@ -79,9 +79,11 @@ ynh_add_config --template="../conf/settings.php" --destination="$install_dir/inc #================================================= ynh_script_progression --message="Creating tp.config.php file..." +cp $YNH_APP_BASEDIR/conf/maketpconfig.php $install_dir/ pushd $install_dir - ynh_exec_as $app php$phpversion $YNH_APP_BASEDIR/conf/maketpconfig.php + ynh_exec_as $app php$phpversion maketpconfig.php popd +ynh_secure_remove $install_dir/maketpconfig.php #================================================= # CREATE A SALTKEY