summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_config.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-11 21:41:54 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-11 21:41:54 -0400
commitaf7c6b9c90fa6de123fc23a5a02aa0ec3bc43af5 (patch)
treedb8b972a834bebaff4525a118ee8467791d3421b /pts-core/functions/pts-functions_config.php
parent041cd0bcba07dd335f7252e58b9fbe984dc05586 (diff)
downloadphoronix-test-suite-upstream-af7c6b9c90fa6de123fc23a5a02aa0ec3bc43af5.tar.gz
phoronix-test-suite-upstream-af7c6b9c90fa6de123fc23a5a02aa0ec3bc43af5.tar.xz
phoronix-test-suite-upstream-af7c6b9c90fa6de123fc23a5a02aa0ec3bc43af5.zip
pts-core: Add last user run-time to the user-config.xml file
Diffstat (limited to 'pts-core/functions/pts-functions_config.php')
-rw-r--r--pts-core/functions/pts-functions_config.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_config.php b/pts-core/functions/pts-functions_config.php
index 9f5be43..81c09d3 100644
--- a/pts-core/functions/pts-functions_config.php
+++ b/pts-core/functions/pts-functions_config.php
@@ -116,6 +116,7 @@ function pts_user_config_init($UserName = NULL, $UploadKey = NULL, $BatchOptions
$config->addXmlObject(P_OPTION_BATCH_CONFIGURED, 5, $BatchOptions[6]);
$config->addXmlObject(P_OPTION_TESTCORE_LASTVERSION, 6, $last_version);
+ $config->addXmlObject(P_OPTION_TESTCORE_LASTTIME, 6, date("Y-m-d H:i:s"));
$config->addXmlObject(P_OPTION_USER_AGREEMENT, 7, $UserAgreement_MD5);
file_put_contents(PTS_USER_DIR . "user-config.xml", $config->getXML());