2
0
forked from Wavyzz/dolibarr

Fix: must use utf8

This commit is contained in:
Laurent Destailleur
2012-07-08 13:57:51 +02:00
parent 9c5e98aad7
commit c9a2c70110
2 changed files with 6 additions and 2 deletions

View File

@@ -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."/ecm/class/ecmdirectory.class.php");
$action=GETPOST("action");
$action=GETPOST("action");
$file=urldecode(GETPOST('file'));
$section=GETPOST("section");
$module=GETPOST("module");
@@ -108,9 +108,11 @@ if (preg_match('/\.\./',$upload_dir) || preg_match('/[<>|]/',$upload_dir))
if (! isset($mode) || $mode != 'noajax')
{
// Ajout directives pour resoudre bug IE
// Ajout directives pour resoudre bug IE
header('Cache-Control: Public, must-revalidate');
header('Pragma: public');
top_httphead();
}
$type='directory';

View File

@@ -72,6 +72,8 @@ if ($modulepart == 'ecm')
* View
*/
top_httphead();
$userstatic=new User($db);
$form=new Form($db);
$ecmdirstatic = new EcmDirectory($db);