mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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
|
||||
function llxHeader() { }
|
||||
|
||||
// Default encoding for HTTP output if no encoding can be found for file to download
|
||||
//$encoding='ISO-8859-1';
|
||||
|
||||
$action = $_GET["action"];
|
||||
$original_file = urldecode($_GET["file"]);
|
||||
|
|
@ -91,7 +93,6 @@ $original_file = str_replace("../","/", "$original_file");
|
|||
$refname=basename(dirname($original_file)."/");
|
||||
|
||||
$accessallowed=0;
|
||||
$encoding='ISO-8859-1'; // By default
|
||||
$sqlprotectagainstexternals='';
|
||||
if ($modulepart)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user