Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
47ca3f9d
Commit
47ca3f9d
authored
13 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Qual: Removed errors and warnings reported by codesniffer
parent
9393bb96
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/document.php
+6
-2
6 additions, 2 deletions
htdocs/document.php
htdocs/viewimage.php
+6
-2
6 additions, 2 deletions
htdocs/viewimage.php
with
12 additions
and
4 deletions
htdocs/document.php
+
6
−
2
View file @
47ca3f9d
...
...
@@ -25,7 +25,7 @@
/**
* \file htdocs/document.php
* \brief Wrapper to download data files
* \version $Id: document.php,v 1.12
1
2011/0
6/28 13:42:06 hregis
Exp $
* \version $Id: document.php,v 1.12
2
2011/0
7/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
...
...
This diff is collapsed.
Click to expand it.
htdocs/viewimage.php
+
6
−
2
View file @
47ca3f9d
...
...
@@ -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.9
4
2011/07/0
6 16:56:01
eldy Exp $
* \version $Id: viewimage.php,v 1.9
5
2011/07/0
9 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
()
{
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment