Sec: Toute page php doit utiliser la couche de securite Dolibarr (include du main)
This commit is contained in:
parent
31a7346214
commit
b3fdf3e836
@ -1,6 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>
|
/* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>
|
||||||
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@cap-networks.com>
|
* Copyright (C) 2005-2007 Regis Houssin <regis.houssin@cap-networks.com>
|
||||||
|
* Copyright (C) 2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -26,18 +27,14 @@
|
|||||||
\version $Revision$
|
\version $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require('../master.inc.php');
|
require('../main.inc.php');
|
||||||
|
|
||||||
$langs->load("products");
|
$langs->load("products");
|
||||||
$langs->load("main");
|
$langs->load("main");
|
||||||
|
|
||||||
//header("Content-type: text/html; charset=UTF-8");
|
top_htmlhead("", "", 1);
|
||||||
//header("Content-type: text/html; charset=$character_set_client"); //TODO: ne fonctionne pas !!
|
|
||||||
header("Content-type: text/html; charset=iso-8859-1");
|
|
||||||
print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">';
|
|
||||||
print "\n<html>";
|
|
||||||
print "\n<body>";
|
|
||||||
|
|
||||||
|
print '<body id="mainbody">'."\n";
|
||||||
|
|
||||||
// Generation liste de produits
|
// Generation liste de produits
|
||||||
if(isset($_GET['keysearch']) && !empty($_GET['keysearch']))
|
if(isset($_GET['keysearch']) && !empty($_GET['keysearch']))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user