Change to support different page code in HTML output
This commit is contained in:
parent
615e39535a
commit
427310a77d
@ -60,6 +60,8 @@ require_once(DOL_DOCUMENT_ROOT.'/lib/files.lib.php');
|
|||||||
// C'est un wrapper, donc header vierge
|
// C'est un wrapper, donc header vierge
|
||||||
function llxHeader() { }
|
function llxHeader() { }
|
||||||
|
|
||||||
|
// Default encoding for HTTP output if no encoding can be found for file to download
|
||||||
|
//$encoding='ISO-8859-1';
|
||||||
|
|
||||||
$action = $_GET["action"];
|
$action = $_GET["action"];
|
||||||
$original_file = urldecode($_GET["file"]);
|
$original_file = urldecode($_GET["file"]);
|
||||||
@ -91,7 +93,6 @@ $original_file = str_replace("../","/", "$original_file");
|
|||||||
$refname=basename(dirname($original_file)."/");
|
$refname=basename(dirname($original_file)."/");
|
||||||
|
|
||||||
$accessallowed=0;
|
$accessallowed=0;
|
||||||
$encoding='ISO-8859-1'; // By default
|
|
||||||
$sqlprotectagainstexternals='';
|
$sqlprotectagainstexternals='';
|
||||||
if ($modulepart)
|
if ($modulepart)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user