1 --- cacti-0.8.7e/cli/import_template.php 2010-04-14 18:11:37.575631837 +0300
2 +++ cacti-0.8.7e/cli/import_template.php 2010-04-14 18:07:35.956754241 +0300
4 /* We are not talking to the browser */
5 $no_http_headers = true;
7 -include(dirname(__FILE__)."/../include/global.php");
8 -include_once("../lib/import.php");
9 +require(dirname(__FILE__)."/../include/global.php");
10 +require_once($config["base_path"]."/lib/import.php");
12 /* process calling arguments */
13 $parms = $_SERVER["argv"];