externalize Graph Export to allow poller to finish.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3100 860744bd-22fc-0310-8c96-e9fe5004b5ca
This commit is contained in:
Larry Adams committed 2005-08-14 14:16:22 +00:00
1 parent 0e218c17d5
commit 0a02f00a82
1 file changed
+3 -1
+3 -1
View File
@@ -258,7 +258,9 @@ if (($num_polling_items > 0) && (read_config_option("poller_enabled") == "on"))
}
/* graph export */
graph_export();
$command_string = read_config_option("path_php_binary");
$extra_args = "-q " . $config["base_path"] . "/export.php";
exec_background($command_string, "$extra_args");
if ($method == "cactid") {
chdir(read_config_option("path_webroot"));