mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
In CLI mode, do not depend on the current directory: the script can be run from anywhere.
SVN:trunk[1414]
This commit is contained in:
@@ -28,12 +28,13 @@
|
||||
// - reconciliation is made on the first column
|
||||
//
|
||||
// Known issues
|
||||
// - ALMOST impossible to troubleshoot when an externl key has a wrong value
|
||||
// - ALMOST impossible to troubleshoot when an external key has a wrong value
|
||||
// - no character escaping in the xml output (yes !?!?!)
|
||||
// - not outputing xml when a wrong input is given (class, attribute names)
|
||||
//
|
||||
|
||||
require_once('../approot.inc.php');
|
||||
if (!defined('__DIR__')) define('__DIR__', dirname(__FILE__));
|
||||
require_once(__DIR__.'/../approot.inc.php');
|
||||
require_once(APPROOT.'/application/application.inc.php');
|
||||
require_once(APPROOT.'/application/webpage.class.inc.php');
|
||||
require_once(APPROOT.'/application/csvpage.class.inc.php');
|
||||
|
||||
Reference in New Issue
Block a user