Skip to content
Snippets Groups Projects
Commit 47ca3f9d authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Qual: Removed errors and warnings reported by codesniffer

parent 9393bb96
No related branches found
No related tags found
No related merge requests found
......@@ -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() { }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment