summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_modules.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-06-23 14:29:34 -0400
committerMichael Larabel <michael@phx-laptop.(none)>2008-08-03 11:49:17 -0400
commit26aed79338d4258f4b08fcc97dc815e94ec49765 (patch)
tree0e4a636715d6de411b9f5aecbb9e9125e408eade /pts-core/functions/pts-functions_modules.php
parent23061abebd8aec79a50de06c557a5e60b110bb0d (diff)
downloadphoronix-test-suite-upstream-26aed79338d4258f4b08fcc97dc815e94ec49765.tar.gz
phoronix-test-suite-upstream-26aed79338d4258f4b08fcc97dc815e94ec49765.tar.xz
phoronix-test-suite-upstream-26aed79338d4258f4b08fcc97dc815e94ec49765.zip
Add pts_module object for providing some common functions to use by PTS
modules, switch system_monitor to using these functions.
Diffstat (limited to 'pts-core/functions/pts-functions_modules.php')
-rw-r--r--pts-core/functions/pts-functions_modules.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pts-core/functions/pts-functions_modules.php b/pts-core/functions/pts-functions_modules.php
index 5f09fd6..652cea0 100644
--- a/pts-core/functions/pts-functions_modules.php
+++ b/pts-core/functions/pts-functions_modules.php
@@ -37,8 +37,8 @@ function pts_auto_modules_ready(&$modules_list)
}
function pts_load_modules(&$modules_list)
{
- // TODO: Detect other modules to load
- // pts_auto_modules_ready($modules_list);
+ pts_auto_modules_ready($modules_list);
+ $GLOBALS["PTS_MODULE_CURRENT"] = FALSE;
// Clean-up modules list
array_unique($modules_list);