summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions-install.php
diff options
context:
space:
mode:
Diffstat (limited to 'pts-core/functions/pts-functions-install.php')
-rw-r--r--pts-core/functions/pts-functions-install.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/pts-core/functions/pts-functions-install.php b/pts-core/functions/pts-functions-install.php
index 19ba3c1..d2d08f8 100644
--- a/pts-core/functions/pts-functions-install.php
+++ b/pts-core/functions/pts-functions-install.php
@@ -426,7 +426,12 @@ function pts_install_test($identifier)
pts_user_message($pre_install_message);
- echo pts_call_test_script($identifier, "install", null, TEST_ENV_DIR . $identifier . "/", pts_run_additional_vars($identifier), false);
+ echo $install_log = pts_call_test_script($identifier, "install", null, TEST_ENV_DIR . $identifier . "/", pts_run_additional_vars($identifier), false);
+
+ if(!empty($install_log))
+ {
+ @file_put_contents(TEST_ENV_DIR . $identifier . "/install.log", $install_log);
+ }
pts_user_message($post_install_message);