From 837fb4551710e7f77015ec9d03874a8d434b8d33 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Sat, 26 May 2018 01:26:54 +0530 Subject: [PATCH] Create log file for the logs --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 18166144..1c5df672 100755 --- a/scripts/install +++ b/scripts/install @@ -99,6 +99,7 @@ ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < $final_path/install/schem # Copy the template install/htconfig.sample.php to .htconfig.php sudo cp $final_path/install/htconfig.sample.php $final_path/.htconfig.php +sudo touch "$final_path/php.log" # Use sed to add the database information to .htconfig.php sudo sed -i "s/your.mysqlhost.com/localhost/g" $final_path/.htconfig.php