packages: cacti/cli-relpath.patch - be like other scripts
glen
glen at pld-linux.org
Wed Apr 14 17:23:13 CEST 2010
Author: glen Date: Wed Apr 14 15:23:13 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- be like other scripts
---- Files affected:
packages/cacti:
cli-relpath.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/cacti/cli-relpath.patch
diff -u packages/cacti/cli-relpath.patch:1.1 packages/cacti/cli-relpath.patch:1.2
--- packages/cacti/cli-relpath.patch:1.1 Wed Apr 14 17:13:18 2010
+++ packages/cacti/cli-relpath.patch Wed Apr 14 17:23:08 2010
@@ -7,7 +7,7 @@
-include(dirname(__FILE__)."/../include/global.php");
-include_once("../lib/import.php");
+require(dirname(__FILE__)."/../include/global.php");
-+require_once(dirname(__FILE__)."/../lib/import.php");
++require_once($config["base_path"]."/lib/import.php");
/* process calling arguments */
$parms = $_SERVER["argv"];
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cacti/cli-relpath.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list