// fix ajax file manager error with undefined employee

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8602 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-09-15 08:22:10 +00:00
parent 224b55c3c2
commit 70a130854c
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;