diff --git a/importexport/importexport_cli.php b/importexport/importexport_cli.php index ac21d62cc7..5eca6f993a 100755 --- a/importexport/importexport_cli.php +++ b/importexport/importexport_cli.php @@ -139,6 +139,8 @@ exit(INVALID_OPTION); } + $GLOBALS['egw_info']['flags']['currentapp'] = $definition->application; + require_once("$path_to_egroupware/$definition->application/importexport/class.$definition->plugin.inc.php"); $po = new $definition->plugin; $type = $definition->type;