Fix: Error in ftp link
This commit is contained in:
parent
9eb342f625
commit
ad377bc4aa
@ -21,7 +21,7 @@
|
|||||||
* \file htdocs/ftp/index.php
|
* \file htdocs/ftp/index.php
|
||||||
* \ingroup ftp
|
* \ingroup ftp
|
||||||
* \brief Main page for FTP section area
|
* \brief Main page for FTP section area
|
||||||
* \version $Id: index.php,v 1.23 2011/07/18 00:49:19 eldy Exp $
|
* \version $Id: index.php,v 1.21 2011/07/17 23:59:39 eldy Exp $
|
||||||
* \author Laurent Destailleur
|
* \author Laurent Destailleur
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -39,6 +39,9 @@ $langs->load("other");
|
|||||||
if ($user->societe_id) $socid=$user->societe_id;
|
if ($user->societe_id) $socid=$user->societe_id;
|
||||||
$result = restrictedArea($user, 'ftp','');
|
$result = restrictedArea($user, 'ftp','');
|
||||||
|
|
||||||
|
// Load permissions
|
||||||
|
$user->getrights('ftp');
|
||||||
|
|
||||||
// Get parameters
|
// Get parameters
|
||||||
$action = isset($_GET["action"])?$_GET["action"]:$_POST['action'];
|
$action = isset($_GET["action"])?$_GET["action"]:$_POST['action'];
|
||||||
$section=isset($_GET["section"])?$_GET["section"]:$_POST['section'];
|
$section=isset($_GET["section"])?$_GET["section"]:$_POST['section'];
|
||||||
@ -444,7 +447,6 @@ else
|
|||||||
|
|
||||||
|
|
||||||
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
print '<form action="'.$_SERVER["PHP_SELF"].'" method="POST">';
|
||||||
print '<input type="hidden" name="numero_ftp" value="'.$numero_ftp.'">';
|
|
||||||
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
||||||
|
|
||||||
|
|
||||||
@ -625,7 +627,7 @@ if ($conn_id) ftp_close($conn_id);
|
|||||||
// End of page
|
// End of page
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter('$Date: 2011/07/18 00:49:19 $ - $Revision: 1.23 $');
|
llxFooter('$Date: 2011/07/17 23:59:39 $ - $Revision: 1.21 $');
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user