]> git.pld-linux.org Git - packages/cacti.git/blob - cli-relpath.patch
- Add patch from date 2010/07/27 more info http://www.cacti.net/download_patches.php
[packages/cacti.git] / cli-relpath.patch
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
3 @@ -31,8 +31,8 @@
4  /* We are not talking to the browser */
5  $no_http_headers = true;
6  
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");
11  
12  /* process calling arguments */
13  $parms = $_SERVER["argv"];
This page took 0.020842 seconds and 3 git commands to generate.