mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Qual: Removed errors and warnings reported by codesniffer
This commit is contained in:
parent
9393bb96ea
commit
47ca3f9d14
|
|
@ -25,7 +25,7 @@
|
|||
/**
|
||||
* \file htdocs/document.php
|
||||
* \brief Wrapper to download data files
|
||||
* \version $Id: document.php,v 1.121 2011/06/28 13:42:06 hregis Exp $
|
||||
* \version $Id: document.php,v 1.122 2011/07/09 00:15:16 eldy Exp $
|
||||
* \remarks Call of this wrapper is made with URL:
|
||||
* document.php?modulepart=repfichierconcerne&file=pathrelatifdufichier
|
||||
*/
|
||||
|
|
@ -41,7 +41,11 @@ if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU','1');
|
|||
if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML','1');
|
||||
if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
|
||||
|
||||
// C'est un wrapper, donc header vierge
|
||||
/**
|
||||
* Wrapper, donc header vierge
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
function llxHeader() { }
|
||||
|
||||
require("./main.inc.php"); // Load $user and permissions
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
* \file htdocs/viewimage.php
|
||||
* \brief Wrapper to show images into Dolibarr screens
|
||||
* \remarks Call to wrapper is '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=diroffile&file=relativepathofofile&cache=0">'
|
||||
* \version $Id: viewimage.php,v 1.94 2011/07/06 16:56:01 eldy Exp $
|
||||
* \version $Id: viewimage.php,v 1.95 2011/07/09 00:15:16 eldy Exp $
|
||||
*/
|
||||
|
||||
// Do not use urldecode here ($_GET and $_REQUEST are already decoded by PHP).
|
||||
|
|
@ -44,7 +44,11 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
|
|||
// Pour autre que companylogo, on charge environnement + info issus de logon comme le user
|
||||
if (($modulepart == 'companylogo') && ! defined("NOLOGIN")) define("NOLOGIN",'1');
|
||||
|
||||
// C'est un wrapper, donc header vierge
|
||||
/**
|
||||
* Wrapper, donc header vierge
|
||||
*
|
||||
* @return null
|
||||
*/
|
||||
function llxHeader() { }
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user