Fix: must use utf8
This commit is contained in:
parent
9c5e98aad7
commit
c9a2c70110
@ -39,7 +39,7 @@ if (! isset($mode) || $mode != 'noajax') // For ajax call
|
|||||||
require_once(DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php');
|
require_once(DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php');
|
||||||
require_once(DOL_DOCUMENT_ROOT."/ecm/class/ecmdirectory.class.php");
|
require_once(DOL_DOCUMENT_ROOT."/ecm/class/ecmdirectory.class.php");
|
||||||
|
|
||||||
$action=GETPOST("action");
|
$action=GETPOST("action");
|
||||||
$file=urldecode(GETPOST('file'));
|
$file=urldecode(GETPOST('file'));
|
||||||
$section=GETPOST("section");
|
$section=GETPOST("section");
|
||||||
$module=GETPOST("module");
|
$module=GETPOST("module");
|
||||||
@ -108,9 +108,11 @@ if (preg_match('/\.\./',$upload_dir) || preg_match('/[<>|]/',$upload_dir))
|
|||||||
|
|
||||||
if (! isset($mode) || $mode != 'noajax')
|
if (! isset($mode) || $mode != 'noajax')
|
||||||
{
|
{
|
||||||
// Ajout directives pour resoudre bug IE
|
// Ajout directives pour resoudre bug IE
|
||||||
header('Cache-Control: Public, must-revalidate');
|
header('Cache-Control: Public, must-revalidate');
|
||||||
header('Pragma: public');
|
header('Pragma: public');
|
||||||
|
|
||||||
|
top_httphead();
|
||||||
}
|
}
|
||||||
|
|
||||||
$type='directory';
|
$type='directory';
|
||||||
|
|||||||
@ -72,6 +72,8 @@ if ($modulepart == 'ecm')
|
|||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
top_httphead();
|
||||||
|
|
||||||
$userstatic=new User($db);
|
$userstatic=new User($db);
|
||||||
$form=new Form($db);
|
$form=new Form($db);
|
||||||
$ecmdirstatic = new EcmDirectory($db);
|
$ecmdirstatic = new EcmDirectory($db);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user