Qual: Removed php code sniffer errors
This commit is contained in:
parent
4502ad2a88
commit
d385a2875b
@ -481,7 +481,7 @@ else
|
||||
//var_dump($contents);
|
||||
//var_dump($buff);
|
||||
|
||||
$nboflines=sizeof($contents);
|
||||
$nboflines=count($contents);
|
||||
$var=true;
|
||||
$rawlisthasfailed=false;
|
||||
$i=0;
|
||||
@ -629,11 +629,11 @@ llxFooter();
|
||||
/**
|
||||
* Connect to FTP server
|
||||
*
|
||||
* @param $ftp_server
|
||||
* @param $ftp_port
|
||||
* @param $ftp_user
|
||||
* @param $ftp_password
|
||||
* @param $section
|
||||
* @param string $ftp_server Server name
|
||||
* @param string $ftp_port Server port
|
||||
* @param string $ftp_user FTP user
|
||||
* @param string $ftp_password FTP password
|
||||
* @param string $section Directory
|
||||
* @return int <0 if OK, >0 if KO
|
||||
*/
|
||||
function dol_ftp_connect($ftp_server, $ftp_port, $ftp_user, $ftp_password, $section)
|
||||
@ -686,9 +686,9 @@ function dol_ftp_connect($ftp_server, $ftp_port, $ftp_user, $ftp_password, $sect
|
||||
/**
|
||||
* Tell if an entry is a FTP directory
|
||||
*
|
||||
* @param $connect_id
|
||||
* @param $dir
|
||||
* @return
|
||||
* @param resource $connect_id Connection handler
|
||||
* @param string $dir Directory
|
||||
* @return int 1=directory, 0=not a directory
|
||||
*/
|
||||
function ftp_isdir($connect_id,$dir)
|
||||
{
|
||||
|
||||
@ -25,6 +25,15 @@ require ("../main.inc.php");
|
||||
|
||||
$user->getrights('ecm');
|
||||
|
||||
/**
|
||||
* Replace the default llxHeader function
|
||||
*
|
||||
* @param string $head Optionnal head lines
|
||||
* @param string $title HTML title
|
||||
* @param string $help_url Link to online url help
|
||||
* @param string $morehtml More content into html header
|
||||
* @return none
|
||||
*/
|
||||
function llxHeader($head = '', $title='', $help_url='', $morehtml='')
|
||||
{
|
||||
global $conf,$langs,$user;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user