summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_modules.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-09-28 09:40:02 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-09-28 09:40:02 -0400
commita236ad4d45d8f87ef87c99c2c5898d46236b3b7b (patch)
treec4c647da1a712fc7913a458ba8ae2df74145de08 /pts-core/functions/pts-functions_modules.php
parent9ced9f62cffb3767057aa7797582fb7d812ad78e (diff)
downloadphoronix-test-suite-upstream-a236ad4d45d8f87ef87c99c2c5898d46236b3b7b.tar.gz
phoronix-test-suite-upstream-a236ad4d45d8f87ef87c99c2c5898d46236b3b7b.tar.xz
phoronix-test-suite-upstream-a236ad4d45d8f87ef87c99c2c5898d46236b3b7b.zip
update_checker: Move code to check for PTS updates out of pts-core and
into its own module
Diffstat (limited to 'pts-core/functions/pts-functions_modules.php')
-rw-r--r--pts-core/functions/pts-functions_modules.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/pts-core/functions/pts-functions_modules.php b/pts-core/functions/pts-functions_modules.php
index b992d70..d0d3c9d 100644
--- a/pts-core/functions/pts-functions_modules.php
+++ b/pts-core/functions/pts-functions_modules.php
@@ -40,6 +40,8 @@ function pts_module_start_process()
// To disable w/o code modification, set HALT_SCREENSAVER=NO environmental variable
array_push($GLOBALS["PTS_MODULES"], "toggle_screensaver");
+ array_push($GLOBALS["PTS_MODULES"], "update_checker"); // Check for new PTS versions
+
pts_load_modules();
pts_module_process("__startup");
register_shutdown_function("pts_module_process", "__shutdown");