From 6eea26a0598a438e7b2d72e7890b839808bb4bb8 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 4 Dec 2023 20:52:02 +0100 Subject: [PATCH] Move maketpconfig.php to conf/ for simpler use, remove unused remaining sources/ dir --- conf/maketpconfig.php | 9 +++++++++ scripts/install | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 conf/maketpconfig.php diff --git a/conf/maketpconfig.php b/conf/maketpconfig.php new file mode 100644 index 0000000..e1a4da0 --- /dev/null +++ b/conf/maketpconfig.php @@ -0,0 +1,9 @@ + diff --git a/scripts/install b/scripts/install index 96a9489..72f88d3 100644 --- a/scripts/install +++ b/scripts/install @@ -80,7 +80,7 @@ ynh_add_config --template="../conf/settings.php" --destination="$install_dir/inc ynh_script_progression --message="Creating tp.config.php file..." pushd $install_dir - ynh_exec_as $app php$phpversion ./maketpconfig.php + ynh_exec_as $app php$phpversion $YNH_APP_BASEDIR/conf/maketpconfig.php popd #=================================================