From 0a02f00a82aa016d18cc0e7fab8773f291241b92 Mon Sep 17 00:00:00 2001 From: Larry Adams Date: Sun, 14 Aug 2005 14:16:22 +0000 Subject: [PATCH] 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 --- poller.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/poller.php b/poller.php index 0172c22ba..ba7298727 100644 --- a/poller.php +++ b/poller.php @@ -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"));