// fix ajax file manager error with undefined employee

This commit is contained in:
tDidierjean
2011-09-15 08:22:10 +00:00
parent c405e1a55b
commit 14004d9f97
21 changed files with 27 additions and 8 deletions
@@ -1,10 +1,11 @@
<?
include_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
require_once('../../config/config.inc.php');
require_once('../init.php');
$error = '';
$fileMoved = array();
$unmovedDocDueToSamePath = array();
include_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . "inc" . DIRECTORY_SEPARATOR . "config.php");
define('PS_ADMIN_DIR', getcwd());
require_once('../../config/config.inc.php');
require_once('../init.php');
$error = '';
$fileMoved = array();
$unmovedDocDueToSamePath = array();
if(CONFIG_SYS_VIEW_ONLY || (!CONFIG_OPTIONS_CUT && !CONFIG_OPTIONS_COPY))
{
$error = SYS_DISABLED;