summaryrefslogtreecommitdiffstats
path: root/pts-core/functions
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-08-31 07:41:06 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-31 07:41:06 -0400
commit3dbf847a0864f84f35e249c3df7d16a054711ff5 (patch)
tree443f3fccfe6b70c87d789ac35b2dd65a7500fe2f /pts-core/functions
parent5ecfefc9e281d2de6c85d1a82344d4513b31888a (diff)
downloadphoronix-test-suite-upstream-3dbf847a0864f84f35e249c3df7d16a054711ff5.tar.gz
phoronix-test-suite-upstream-3dbf847a0864f84f35e249c3df7d16a054711ff5.tar.xz
phoronix-test-suite-upstream-3dbf847a0864f84f35e249c3df7d16a054711ff5.zip
pts-core: Add user variable support for the saved results file name
Diffstat (limited to 'pts-core/functions')
-rw-r--r--pts-core/functions/pts-functions-run.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions-run.php b/pts-core/functions/pts-functions-run.php
index 118f6ef..245b6d9 100644
--- a/pts-core/functions/pts-functions-run.php
+++ b/pts-core/functions/pts-functions-run.php
@@ -121,6 +121,8 @@ function pts_prompt_save_file_name($check_env = true)
$PROPOSED_FILE_NAME = "";
}
+ $PROPOSED_FILE_NAME = pts_swap_user_variables($PROPOSED_FILE_NAME);
+
$CUSTOM_TITLE = $PROPOSED_FILE_NAME;
$PROPOSED_FILE_NAME = trim(str_replace(array(' ', '/', '&', '\''), "", strtolower($PROPOSED_FILE_NAME))); // Clean up name