diff options
-rw-r--r-- | TYDAL-CHANGE-LOG | 2 | ||||
-rw-r--r-- | pts-core/functions/pts-functions_system_parsing.php | 4 | ||||
-rw-r--r-- | pts-core/static/hal-values-remove.txt (renamed from pts-core/static/hal-remove-words.txt) | 0 |
3 files changed, 3 insertions, 3 deletions
diff --git a/TYDAL-CHANGE-LOG b/TYDAL-CHANGE-LOG index 3f4ec92..1806101 100644 --- a/TYDAL-CHANGE-LOG +++ b/TYDAL-CHANGE-LOG @@ -17,4 +17,4 @@ Phoronix Test Suite (Git) - pts-core: Remove pts-run-test.php now that now that its code is modularized as option run_test - pts-core: Relocate initialization code to be called from phoronix-test-suite.php - pts-core: Add STATIC_DIR (pts-core/static/) for some static files -- pts-core: Add static/hal-remove-words.txt to contain a list of all HAL strings to remove if found, instead of having it coded within an array +- pts-core: Add static/hal-values-remove.txt to contain a list of all HAL strings to remove if found, instead of having it coded within an array diff --git a/pts-core/functions/pts-functions_system_parsing.php b/pts-core/functions/pts-functions_system_parsing.php index f9b5274..e0c4aff 100644 --- a/pts-core/functions/pts-functions_system_parsing.php +++ b/pts-core/functions/pts-functions_system_parsing.php @@ -63,9 +63,9 @@ function read_hal($name, $UDI = null) { $name = array($name); } - if(empty($remove_words) && is_file(STATIC_DIR . "hal-remove-words.txt")) + if(empty($remove_words) && is_file(STATIC_DIR . "hal-values-remove.txt")) { - $word_file = trim(file_get_contents(STATIC_DIR . "hal-remove-words.txt")); + $word_file = trim(file_get_contents(STATIC_DIR . "hal-values-remove.txt")); $remove_words = array_map("trim", explode("\n", $word_file)); } diff --git a/pts-core/static/hal-remove-words.txt b/pts-core/static/hal-values-remove.txt index f0ca77b..f0ca77b 100644 --- a/pts-core/static/hal-remove-words.txt +++ b/pts-core/static/hal-values-remove.txt |