diff --git a/htdocs/adherents/admin/adherent.php b/htdocs/adherents/admin/adherent.php
index 038cc119924..6cea7ce9389 100644
--- a/htdocs/adherents/admin/adherent.php
+++ b/htdocs/adherents/admin/adherent.php
@@ -27,7 +27,7 @@
* \brief Page to setup the module Foundation
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
diff --git a/htdocs/adherents/admin/adherent_extrafields.php b/htdocs/adherents/admin/adherent_extrafields.php
index 4d647ae7c34..b14042a141e 100755
--- a/htdocs/adherents/admin/adherent_extrafields.php
+++ b/htdocs/adherents/admin/adherent_extrafields.php
@@ -23,7 +23,7 @@
* \brief Page to setup extra fields of members
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php';
@@ -52,7 +52,7 @@ if (!$user->admin) accessforbidden();
* Actions
*/
-require(DOL_DOCUMENT_ROOT."/core/admin_extrafields.inc.php");
+require DOL_DOCUMENT_ROOT.'/core/admin_extrafields.inc.php';
diff --git a/htdocs/adherents/admin/mailman.php b/htdocs/adherents/admin/mailman.php
index 55d0cefb97c..ce407584391 100644
--- a/htdocs/adherents/admin/mailman.php
+++ b/htdocs/adherents/admin/mailman.php
@@ -27,7 +27,7 @@
* \brief Page to setup the module MailmanSpip (Mailman)
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/mailmanspip.lib.php';
diff --git a/htdocs/adherents/admin/public.php b/htdocs/adherents/admin/public.php
index dd20cd6f342..911b1e13f7f 100755
--- a/htdocs/adherents/admin/public.php
+++ b/htdocs/adherents/admin/public.php
@@ -24,7 +24,7 @@
* \author Laurent Destailleur
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
diff --git a/htdocs/adherents/admin/spip.php b/htdocs/adherents/admin/spip.php
index c37a63b246a..2d571d2c615 100644
--- a/htdocs/adherents/admin/spip.php
+++ b/htdocs/adherents/admin/spip.php
@@ -27,7 +27,7 @@
* \brief Page to setup the module MailmanSpip (SPIP)
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/mailmanspip.lib.php';
diff --git a/htdocs/adherents/agenda.php b/htdocs/adherents/agenda.php
index 613f3e31894..db8a055e32f 100644
--- a/htdocs/adherents/agenda.php
+++ b/htdocs/adherents/agenda.php
@@ -26,7 +26,7 @@
* \brief Page of members events
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php
index bd24d303c9a..99bf68174ae 100644
--- a/htdocs/adherents/card_subscriptions.php
+++ b/htdocs/adherents/card_subscriptions.php
@@ -23,7 +23,7 @@
* \brief Onglet d'ajout, edition, suppression des adhesions d'un adherent
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
diff --git a/htdocs/adherents/cartes/carte.php b/htdocs/adherents/cartes/carte.php
index 433f38843c7..276d0d51116 100755
--- a/htdocs/adherents/cartes/carte.php
+++ b/htdocs/adherents/cartes/carte.php
@@ -22,7 +22,7 @@
* \ingroup member
* \brief Page to output members business cards
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/format_cards.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
diff --git a/htdocs/adherents/cotisations.php b/htdocs/adherents/cotisations.php
index c49f6cc336c..b0a75427697 100644
--- a/htdocs/adherents/cotisations.php
+++ b/htdocs/adherents/cotisations.php
@@ -23,7 +23,7 @@
* \brief Page de consultation et insertion d'une cotisation
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/cotisation.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/adherents/document.php b/htdocs/adherents/document.php
index fea4564af41..17b653d6a55 100644
--- a/htdocs/adherents/document.php
+++ b/htdocs/adherents/document.php
@@ -24,7 +24,7 @@
* \ingroup societe
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php
index 7d46602e069..4abaa9b822e 100644
--- a/htdocs/adherents/fiche.php
+++ b/htdocs/adherents/fiche.php
@@ -24,7 +24,7 @@
* \brief Page of member
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
diff --git a/htdocs/adherents/fiche_subscription.php b/htdocs/adherents/fiche_subscription.php
index 7541523d292..b870ed6037a 100644
--- a/htdocs/adherents/fiche_subscription.php
+++ b/htdocs/adherents/fiche_subscription.php
@@ -21,7 +21,7 @@
* \brief Page to add/edit/remove a member subscription
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/cotisation.class.php';
diff --git a/htdocs/adherents/htpasswd.php b/htdocs/adherents/htpasswd.php
index 88239d79bc4..607b4104018 100644
--- a/htdocs/adherents/htpasswd.php
+++ b/htdocs/adherents/htpasswd.php
@@ -24,7 +24,7 @@
* \author Rodolphe Quiedeville
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
// Security check
diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php
index 9c50607064c..fff160275bb 100644
--- a/htdocs/adherents/index.php
+++ b/htdocs/adherents/index.php
@@ -24,7 +24,7 @@
* \brief Page accueil module adherents
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent_type.class.php';
diff --git a/htdocs/adherents/info.php b/htdocs/adherents/info.php
index 9aeab2c4b4a..bfa4f885a6a 100644
--- a/htdocs/adherents/info.php
+++ b/htdocs/adherents/info.php
@@ -22,7 +22,7 @@
* \brief Page des informations d'un adherent
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
diff --git a/htdocs/adherents/info_subscription.php b/htdocs/adherents/info_subscription.php
index 471f5bbd0e3..b900abf6867 100644
--- a/htdocs/adherents/info_subscription.php
+++ b/htdocs/adherents/info_subscription.php
@@ -22,7 +22,7 @@
* \brief Page with information of subscriptions of a member
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
diff --git a/htdocs/adherents/ldap.php b/htdocs/adherents/ldap.php
index 2e689a015dc..a97c729a908 100644
--- a/htdocs/adherents/ldap.php
+++ b/htdocs/adherents/ldap.php
@@ -22,7 +22,7 @@
* \brief Page fiche LDAP adherent
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/ldap.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/ldap.class.php';
diff --git a/htdocs/adherents/liste.php b/htdocs/adherents/liste.php
index 44a97269110..93549d1c516 100644
--- a/htdocs/adherents/liste.php
+++ b/htdocs/adherents/liste.php
@@ -23,7 +23,7 @@
* \brief Page to list all members of foundation
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent_type.class.php';
diff --git a/htdocs/adherents/note.php b/htdocs/adherents/note.php
index c7bd4ffda4b..1870683a02e 100644
--- a/htdocs/adherents/note.php
+++ b/htdocs/adherents/note.php
@@ -22,7 +22,7 @@
* \brief Fiche de notes sur un adherent
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent_type.class.php';
diff --git a/htdocs/adherents/stats/geo.php b/htdocs/adherents/stats/geo.php
index 12d8b685709..fc45ac75dd6 100755
--- a/htdocs/adherents/stats/geo.php
+++ b/htdocs/adherents/stats/geo.php
@@ -21,7 +21,7 @@
* \brief Page with geographical statistics on members
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
$graphwidth = 700;
diff --git a/htdocs/adherents/stats/index.php b/htdocs/adherents/stats/index.php
index d7f1caad32e..9ce039b2375 100644
--- a/htdocs/adherents/stats/index.php
+++ b/htdocs/adherents/stats/index.php
@@ -23,7 +23,7 @@
* \brief Page of subscription members statistics
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherentstats.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php
index 2f0fecc28b1..3c5150fa7f5 100644
--- a/htdocs/adherents/type.php
+++ b/htdocs/adherents/type.php
@@ -24,7 +24,7 @@
* \brief Member's type setup
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent_type.class.php';
diff --git a/htdocs/admin/accounting.php b/htdocs/admin/accounting.php
index e741bc1e6a9..4928aa2a172 100644
--- a/htdocs/admin/accounting.php
+++ b/htdocs/admin/accounting.php
@@ -22,7 +22,7 @@
* \brief Page de configuration du module comptabilite expert
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load('admin');
diff --git a/htdocs/admin/agenda.php b/htdocs/admin/agenda.php
index e876f902bcc..c0d9d389627 100644
--- a/htdocs/admin/agenda.php
+++ b/htdocs/admin/agenda.php
@@ -23,7 +23,7 @@
* \brief Autocreate actions for agenda module setup page
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/agenda.lib.php';
diff --git a/htdocs/admin/agenda_extsites.php b/htdocs/admin/agenda_extsites.php
index ae7dc13794c..41ac8727563 100644
--- a/htdocs/admin/agenda_extsites.php
+++ b/htdocs/admin/agenda_extsites.php
@@ -22,7 +22,7 @@
* \brief Page to setup external calendars for agenda module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
diff --git a/htdocs/admin/agenda_xcal.php b/htdocs/admin/agenda_xcal.php
index 378cb1af794..5a1ccc3c6df 100644
--- a/htdocs/admin/agenda_xcal.php
+++ b/htdocs/admin/agenda_xcal.php
@@ -22,7 +22,7 @@
* \brief Page to setup miscellaneous options of agenda module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/agenda.lib.php';
diff --git a/htdocs/admin/barcode.php b/htdocs/admin/barcode.php
index 6df94c52c32..c9de48afb95 100644
--- a/htdocs/admin/barcode.php
+++ b/htdocs/admin/barcode.php
@@ -24,7 +24,7 @@
* \brief Page to setup barcode module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formbarcode.class.php';
diff --git a/htdocs/admin/boxes.php b/htdocs/admin/boxes.php
index 98c342b321a..d454fe4b95a 100644
--- a/htdocs/admin/boxes.php
+++ b/htdocs/admin/boxes.php
@@ -22,7 +22,7 @@
* \brief Page to setup boxes
*/
-require("../main.inc.php");
+require '../main.inc.php';
include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
require_once DOL_DOCUMENT_ROOT.'/core/class/infobox.class.php';
include_once(DOL_DOCUMENT_ROOT."/core/lib/admin.lib.php");
diff --git a/htdocs/admin/clicktodial.php b/htdocs/admin/clicktodial.php
index a0f96be7ba4..3cb34186bd6 100644
--- a/htdocs/admin/clicktodial.php
+++ b/htdocs/admin/clicktodial.php
@@ -23,7 +23,7 @@
* \brief Page to setup module clicktodial
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("admin");
diff --git a/htdocs/admin/commande.php b/htdocs/admin/commande.php
index 4165b62c368..36c57926c4d 100644
--- a/htdocs/admin/commande.php
+++ b/htdocs/admin/commande.php
@@ -29,7 +29,7 @@
* \brief Setup page of module Order
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php
index 87fd8f5d112..03309c31c3b 100644
--- a/htdocs/admin/company.php
+++ b/htdocs/admin/company.php
@@ -25,7 +25,7 @@
* \brief Setup page to configure company/foundation
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
diff --git a/htdocs/admin/compta.php b/htdocs/admin/compta.php
index 55096163d70..86d87117ac1 100644
--- a/htdocs/admin/compta.php
+++ b/htdocs/admin/compta.php
@@ -24,7 +24,7 @@
* \brief Page to setup accountancy module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load('admin');
diff --git a/htdocs/admin/confexped.php b/htdocs/admin/confexped.php
index e18f0aaf3b0..f2cdf0bd22e 100644
--- a/htdocs/admin/confexped.php
+++ b/htdocs/admin/confexped.php
@@ -24,7 +24,7 @@
* \brief Page to setup sending module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("admin");
diff --git a/htdocs/admin/const.php b/htdocs/admin/const.php
index b737d927348..a10738939e6 100644
--- a/htdocs/admin/const.php
+++ b/htdocs/admin/const.php
@@ -23,7 +23,7 @@
* \brief Admin page to define miscellaneous constants
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("admin");
diff --git a/htdocs/admin/contract.php b/htdocs/admin/contract.php
index dc178919110..4678accc1ab 100644
--- a/htdocs/admin/contract.php
+++ b/htdocs/admin/contract.php
@@ -21,7 +21,7 @@
* \brief Setup page of module Contracts
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php';
diff --git a/htdocs/admin/delais.php b/htdocs/admin/delais.php
index a669d8e5c27..fe4edb90e2a 100644
--- a/htdocs/admin/delais.php
+++ b/htdocs/admin/delais.php
@@ -23,7 +23,7 @@
* \brief Page to setup late delays
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("admin");
diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php
index ff41d6980ec..b6bca0eefeb 100644
--- a/htdocs/admin/dict.php
+++ b/htdocs/admin/dict.php
@@ -28,7 +28,7 @@
* \brief Page to administer data tables
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
diff --git a/htdocs/admin/dons.php b/htdocs/admin/dons.php
index d00630af55c..f04e7d897de 100644
--- a/htdocs/admin/dons.php
+++ b/htdocs/admin/dons.php
@@ -21,7 +21,7 @@
* \ingroup dons
* \brief Page d'administration/configuration du module Dons
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/dons/class/don.class.php';
diff --git a/htdocs/admin/events.php b/htdocs/admin/events.php
index 5b13346dce0..b06df9e432e 100644
--- a/htdocs/admin/events.php
+++ b/htdocs/admin/events.php
@@ -21,7 +21,7 @@
* \brief Log event setup page
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/agenda.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/events.class.php';
diff --git a/htdocs/admin/expedition.php b/htdocs/admin/expedition.php
index 9277729f32a..c7a23242583 100644
--- a/htdocs/admin/expedition.php
+++ b/htdocs/admin/expedition.php
@@ -28,7 +28,7 @@
* \brief Page d'administration/configuration du module Expedition
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/expedition/class/expedition.class.php';
diff --git a/htdocs/admin/external_rss.php b/htdocs/admin/external_rss.php
index 3f9c1a55817..da5f2c36a65 100644
--- a/htdocs/admin/external_rss.php
+++ b/htdocs/admin/external_rss.php
@@ -27,7 +27,7 @@
* \brief Page to setupe module ExternalRss
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/rssparser.class.php';
diff --git a/htdocs/admin/facture.php b/htdocs/admin/facture.php
index 817c160861a..6e54456f59e 100644
--- a/htdocs/admin/facture.php
+++ b/htdocs/admin/facture.php
@@ -26,7 +26,7 @@
* \brief Page to setup invoice module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
diff --git a/htdocs/admin/fckeditor.php b/htdocs/admin/fckeditor.php
index 21e537f1ea6..7b978bb5c8d 100644
--- a/htdocs/admin/fckeditor.php
+++ b/htdocs/admin/fckeditor.php
@@ -24,7 +24,7 @@
* \brief Page d'activation du module FCKeditor dans les autres modules
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
diff --git a/htdocs/admin/fichinter.php b/htdocs/admin/fichinter.php
index de2970a5f4f..7a800152c65 100644
--- a/htdocs/admin/fichinter.php
+++ b/htdocs/admin/fichinter.php
@@ -28,7 +28,7 @@
* \brief Setup page of module Interventions
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinter.class.php';
diff --git a/htdocs/admin/fournisseur.php b/htdocs/admin/fournisseur.php
index cebef187545..d2f5ef39512 100644
--- a/htdocs/admin/fournisseur.php
+++ b/htdocs/admin/fournisseur.php
@@ -27,7 +27,7 @@
* \brief Page d'administration-configuration du module Fournisseur
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php';
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
diff --git a/htdocs/admin/geoipmaxmind.php b/htdocs/admin/geoipmaxmind.php
index ef41b8801e9..14a8553959d 100644
--- a/htdocs/admin/geoipmaxmind.php
+++ b/htdocs/admin/geoipmaxmind.php
@@ -22,7 +22,7 @@
* \brief Setup page for geoipmaxmind module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/dolgeoip.class.php';
diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php
index f99db823f36..6227aa5fb72 100644
--- a/htdocs/admin/ihm.php
+++ b/htdocs/admin/ihm.php
@@ -22,7 +22,7 @@
* \brief Page to setup GUI display options
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
diff --git a/htdocs/admin/index.php b/htdocs/admin/index.php
index c7f9e2efa2c..de1a4faab8f 100644
--- a/htdocs/admin/index.php
+++ b/htdocs/admin/index.php
@@ -21,7 +21,7 @@
* \brief Page d'accueil de l'espace administration/configuration
*/
-require("../main.inc.php");
+require '../main.inc.php';
$langs->load("admin");
$langs->load("companies");
diff --git a/htdocs/admin/ldap.php b/htdocs/admin/ldap.php
index e7fb7b15dc9..ba4b76a7e2a 100644
--- a/htdocs/admin/ldap.php
+++ b/htdocs/admin/ldap.php
@@ -26,7 +26,7 @@
* \brief Page d'administration/configuration du module Ldap
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/ldap.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/ldap.lib.php';
diff --git a/htdocs/admin/ldap_contacts.php b/htdocs/admin/ldap_contacts.php
index 6ffa7353aec..d1dd88c67a1 100644
--- a/htdocs/admin/ldap_contacts.php
+++ b/htdocs/admin/ldap_contacts.php
@@ -26,7 +26,7 @@
* \brief Page d'administration/configuration du module Ldap
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/ldap.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/ldap.lib.php';
diff --git a/htdocs/admin/ldap_groups.php b/htdocs/admin/ldap_groups.php
index ba02aeba3e0..141de8a7d31 100644
--- a/htdocs/admin/ldap_groups.php
+++ b/htdocs/admin/ldap_groups.php
@@ -26,7 +26,7 @@
* \brief Page to setup LDAP synchronization for groups
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php';
require_once DOL_DOCUMENT_ROOT.'/user/class/usergroup.class.php';
diff --git a/htdocs/admin/ldap_members.php b/htdocs/admin/ldap_members.php
index 0d99a8cc40b..83dcb2c50c4 100644
--- a/htdocs/admin/ldap_members.php
+++ b/htdocs/admin/ldap_members.php
@@ -26,7 +26,7 @@
* \brief Page d'administration/configuration du module Ldap adherent
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent_type.class.php';
diff --git a/htdocs/admin/ldap_users.php b/htdocs/admin/ldap_users.php
index abb068e299e..909364fb00e 100644
--- a/htdocs/admin/ldap_users.php
+++ b/htdocs/admin/ldap_users.php
@@ -26,7 +26,7 @@
* \brief Page d'administration/configuration du module Ldap
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php';
require_once DOL_DOCUMENT_ROOT.'/user/class/usergroup.class.php';
diff --git a/htdocs/admin/limits.php b/htdocs/admin/limits.php
index 38f2dcc0858..6fbb135955b 100644
--- a/htdocs/admin/limits.php
+++ b/htdocs/admin/limits.php
@@ -22,7 +22,7 @@
* \brief Page to setup limits
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
diff --git a/htdocs/admin/livraison.php b/htdocs/admin/livraison.php
index 60b4d189ffa..9a23e3f968d 100644
--- a/htdocs/admin/livraison.php
+++ b/htdocs/admin/livraison.php
@@ -27,7 +27,7 @@
* \ingroup livraison
* \brief Page d'administration/configuration du module Livraison
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/livraison/class/livraison.class.php';
diff --git a/htdocs/admin/mailing.php b/htdocs/admin/mailing.php
index 6baab61876d..ccded6ec1c7 100644
--- a/htdocs/admin/mailing.php
+++ b/htdocs/admin/mailing.php
@@ -23,7 +23,7 @@
* \brief Page to setup emailing module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php
index c5cf25bf26e..98b91883366 100644
--- a/htdocs/admin/mails.php
+++ b/htdocs/admin/mails.php
@@ -21,7 +21,7 @@
* \brief Page to setup emails sending
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
diff --git a/htdocs/admin/menus.php b/htdocs/admin/menus.php
index d3a3ed0942e..c5b3e378164 100644
--- a/htdocs/admin/menus.php
+++ b/htdocs/admin/menus.php
@@ -23,7 +23,7 @@
* \brief Page to setup menu manager to use
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
diff --git a/htdocs/admin/menus/edit.php b/htdocs/admin/menus/edit.php
index df5b79af766..1dd106a1204 100644
--- a/htdocs/admin/menus/edit.php
+++ b/htdocs/admin/menus/edit.php
@@ -23,7 +23,7 @@
* \brief Tool to edit menus
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/menubase.class.php';
diff --git a/htdocs/admin/menus/index.php b/htdocs/admin/menus/index.php
index 2d7b9d697af..800f10a15d7 100644
--- a/htdocs/admin/menus/index.php
+++ b/htdocs/admin/menus/index.php
@@ -23,7 +23,7 @@
* \brief Index page for menu editor
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/treeview.lib.php';
diff --git a/htdocs/admin/menus/other.php b/htdocs/admin/menus/other.php
index 5f0a7a5693d..d9e6a2d8baf 100644
--- a/htdocs/admin/menus/other.php
+++ b/htdocs/admin/menus/other.php
@@ -21,7 +21,7 @@
* \brief Menus options setup
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("users");
diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php
index 02c2f91b5a7..fd459051604 100644
--- a/htdocs/admin/modules.php
+++ b/htdocs/admin/modules.php
@@ -25,7 +25,7 @@
* \brief Page to activate/disable all modules
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("errors");
diff --git a/htdocs/admin/notification.php b/htdocs/admin/notification.php
index 2ae4edc0fa7..821da019a73 100644
--- a/htdocs/admin/notification.php
+++ b/htdocs/admin/notification.php
@@ -22,7 +22,7 @@
* \brief Page to setup notification module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/triggers/interface_50_modNotification_Notification.class.php';
diff --git a/htdocs/admin/osc-languages.php b/htdocs/admin/osc-languages.php
index b6e9bb5c848..a391f06b51e 100644
--- a/htdocs/admin/osc-languages.php
+++ b/htdocs/admin/osc-languages.php
@@ -21,7 +21,7 @@
* \brief Page d'administration/configuration du module Boutique
*/
-require("../main.inc.php");
+require '../main.inc.php';
$langs->load("admin");
diff --git a/htdocs/admin/pdf.php b/htdocs/admin/pdf.php
index 29ee436449b..8c9178e895a 100755
--- a/htdocs/admin/pdf.php
+++ b/htdocs/admin/pdf.php
@@ -23,7 +23,7 @@
* \brief Page to setup PDF options
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
diff --git a/htdocs/admin/perms.php b/htdocs/admin/perms.php
index 0414d3dcfcc..52482b07158 100644
--- a/htdocs/admin/perms.php
+++ b/htdocs/admin/perms.php
@@ -24,7 +24,7 @@
* \brief Page d'administration/configuration des permissions par defaut
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
diff --git a/htdocs/admin/prelevement.php b/htdocs/admin/prelevement.php
index cbcbfa9e97a..fb71396bb6f 100644
--- a/htdocs/admin/prelevement.php
+++ b/htdocs/admin/prelevement.php
@@ -24,7 +24,7 @@
* \brief Page configuration des prelevements
*/
-require('../main.inc.php');
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/admin/project.php b/htdocs/admin/project.php
index 616cb29e663..d5da8993efc 100644
--- a/htdocs/admin/project.php
+++ b/htdocs/admin/project.php
@@ -24,7 +24,7 @@
* \brief Page to setup project module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
require_once DOL_DOCUMENT_ROOT.'/projet/class/task.class.php';
diff --git a/htdocs/admin/propal.php b/htdocs/admin/propal.php
index 1e8f28bef25..02b57e63cb2 100644
--- a/htdocs/admin/propal.php
+++ b/htdocs/admin/propal.php
@@ -28,7 +28,7 @@
* \brief Setup page for commercial proposal module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
diff --git a/htdocs/admin/proxy.php b/htdocs/admin/proxy.php
index 12669b657ee..3b48bba8145 100755
--- a/htdocs/admin/proxy.php
+++ b/htdocs/admin/proxy.php
@@ -21,7 +21,7 @@
* \brief Page setup proxy to use for external web access
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
diff --git a/htdocs/admin/security.php b/htdocs/admin/security.php
index 2753e6ab2cb..9acd06e091d 100644
--- a/htdocs/admin/security.php
+++ b/htdocs/admin/security.php
@@ -22,7 +22,7 @@
* \brief Page de configuration du module securite
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
diff --git a/htdocs/admin/security_other.php b/htdocs/admin/security_other.php
index 6940124e7db..22f31b3ff67 100644
--- a/htdocs/admin/security_other.php
+++ b/htdocs/admin/security_other.php
@@ -22,7 +22,7 @@
* \brief Security options setup
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
diff --git a/htdocs/admin/sms.php b/htdocs/admin/sms.php
index fd38cd32ca5..0406e99d971 100755
--- a/htdocs/admin/sms.php
+++ b/htdocs/admin/sms.php
@@ -21,7 +21,7 @@
* \brief Page to setup emails sending
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("companies");
diff --git a/htdocs/admin/stock.php b/htdocs/admin/stock.php
index 11809d58259..deb55ee311c 100644
--- a/htdocs/admin/stock.php
+++ b/htdocs/admin/stock.php
@@ -23,7 +23,7 @@
* \ingroup stock
* \brief Page d'administration/configuration du module gestion de stock
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("admin");
diff --git a/htdocs/admin/syslog.php b/htdocs/admin/syslog.php
index 7265767aef3..44cf3fb6761 100644
--- a/htdocs/admin/syslog.php
+++ b/htdocs/admin/syslog.php
@@ -23,7 +23,7 @@
* \brief Setup page for logs module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
if (!$user->admin) accessforbidden();
diff --git a/htdocs/admin/system/about.php b/htdocs/admin/system/about.php
index b33b20fd258..9f12412bff7 100644
--- a/htdocs/admin/system/about.php
+++ b/htdocs/admin/system/about.php
@@ -24,7 +24,7 @@
* \brief About Dolibarr File page
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
$langs->load("help");
diff --git a/htdocs/admin/system/constall.php b/htdocs/admin/system/constall.php
index a7c27179818..009156f1a5d 100644
--- a/htdocs/admin/system/constall.php
+++ b/htdocs/admin/system/constall.php
@@ -22,7 +22,7 @@
* \brief Page to show all Dolibarr setup (config file and database constants)
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
$langs->load("user");
diff --git a/htdocs/admin/system/database-tables-contraintes.php b/htdocs/admin/system/database-tables-contraintes.php
index da6623d72f4..a6b8d9fb944 100644
--- a/htdocs/admin/system/database-tables-contraintes.php
+++ b/htdocs/admin/system/database-tables-contraintes.php
@@ -23,7 +23,7 @@
* \brief Page d'info des contraintes de la base
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
diff --git a/htdocs/admin/system/database-tables.php b/htdocs/admin/system/database-tables.php
index 7dfd6b9f2c8..c01aa0ee07c 100644
--- a/htdocs/admin/system/database-tables.php
+++ b/htdocs/admin/system/database-tables.php
@@ -24,7 +24,7 @@
* \brief Page d'infos des tables de la base
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
diff --git a/htdocs/admin/system/database.php b/htdocs/admin/system/database.php
index 5bfd44b14ac..e1db5b57d9c 100644
--- a/htdocs/admin/system/database.php
+++ b/htdocs/admin/system/database.php
@@ -23,7 +23,7 @@
* \brief Page with system information of database
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
diff --git a/htdocs/admin/system/dbtable.php b/htdocs/admin/system/dbtable.php
index bc6cc57405e..7f4bba4729e 100644
--- a/htdocs/admin/system/dbtable.php
+++ b/htdocs/admin/system/dbtable.php
@@ -24,7 +24,7 @@
* \brief Page d'info des contraintes d'une table
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
diff --git a/htdocs/admin/system/dolibarr.php b/htdocs/admin/system/dolibarr.php
index 2ba5acbbd83..95828249c00 100644
--- a/htdocs/admin/system/dolibarr.php
+++ b/htdocs/admin/system/dolibarr.php
@@ -22,7 +22,7 @@
* \brief Page to show Dolibarr informations
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/memory.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
diff --git a/htdocs/admin/system/index.php b/htdocs/admin/system/index.php
index 49d7698b496..afe4bd9f2b7 100644
--- a/htdocs/admin/system/index.php
+++ b/htdocs/admin/system/index.php
@@ -22,7 +22,7 @@
* \brief Home page of system information
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
$langs->load("admin");
diff --git a/htdocs/admin/system/modules.php b/htdocs/admin/system/modules.php
index 5e12d40a598..2802818b038 100644
--- a/htdocs/admin/system/modules.php
+++ b/htdocs/admin/system/modules.php
@@ -22,7 +22,7 @@
* \brief File to list all Dolibarr modules
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
$langs->load("admin");
diff --git a/htdocs/admin/system/os.php b/htdocs/admin/system/os.php
index 5659b5769f7..be2f6151e64 100644
--- a/htdocs/admin/system/os.php
+++ b/htdocs/admin/system/os.php
@@ -21,7 +21,7 @@
* \brief Page des infos systeme de l'OS
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
$langs->load("admin");
diff --git a/htdocs/admin/system/phpinfo.php b/htdocs/admin/system/phpinfo.php
index 01ab2a200e3..db4630535de 100644
--- a/htdocs/admin/system/phpinfo.php
+++ b/htdocs/admin/system/phpinfo.php
@@ -22,7 +22,7 @@
* \brief Page des infos systeme de php
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
diff --git a/htdocs/admin/system/web.php b/htdocs/admin/system/web.php
index 2005b589998..fe8ee87a8e4 100644
--- a/htdocs/admin/system/web.php
+++ b/htdocs/admin/system/web.php
@@ -20,7 +20,7 @@
* \brief Page with web server system information
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/security2.lib.php';
diff --git a/htdocs/admin/system/xcache.php b/htdocs/admin/system/xcache.php
index 8fd23b96af0..f2e78363016 100755
--- a/htdocs/admin/system/xcache.php
+++ b/htdocs/admin/system/xcache.php
@@ -20,7 +20,7 @@
* \brief Page administration XCache
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
diff --git a/htdocs/admin/system/xdebug.php b/htdocs/admin/system/xdebug.php
index 3b829d33ec8..a9f7e6df158 100644
--- a/htdocs/admin/system/xdebug.php
+++ b/htdocs/admin/system/xdebug.php
@@ -20,7 +20,7 @@
* \brief Page administration XDebug
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
diff --git a/htdocs/admin/taxes.php b/htdocs/admin/taxes.php
index 5df354a86e4..73b69c50505 100644
--- a/htdocs/admin/taxes.php
+++ b/htdocs/admin/taxes.php
@@ -24,7 +24,7 @@
* \brief Page de configuration du module tax
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load('admin');
diff --git a/htdocs/admin/tools/dolibarr_export.php b/htdocs/admin/tools/dolibarr_export.php
index b4d58db5e4a..18dc96e652c 100644
--- a/htdocs/admin/tools/dolibarr_export.php
+++ b/htdocs/admin/tools/dolibarr_export.php
@@ -22,7 +22,7 @@
* \brief Page to export database
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
diff --git a/htdocs/admin/tools/dolibarr_import.php b/htdocs/admin/tools/dolibarr_import.php
index cd2119ca4c8..9ff98757a36 100644
--- a/htdocs/admin/tools/dolibarr_import.php
+++ b/htdocs/admin/tools/dolibarr_import.php
@@ -22,7 +22,7 @@
* \brief Page to import database
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
$langs->load("other");
diff --git a/htdocs/admin/tools/eaccelerator.php b/htdocs/admin/tools/eaccelerator.php
index 421e677b3d7..52838109c4f 100644
--- a/htdocs/admin/tools/eaccelerator.php
+++ b/htdocs/admin/tools/eaccelerator.php
@@ -20,7 +20,7 @@
* \brief Page administration de eaccelerator
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
diff --git a/htdocs/admin/tools/export.php b/htdocs/admin/tools/export.php
index 37cbbdb2133..55b9f5302cd 100644
--- a/htdocs/admin/tools/export.php
+++ b/htdocs/admin/tools/export.php
@@ -21,7 +21,7 @@
* \brief Page to export a database into a dump file
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
diff --git a/htdocs/admin/tools/index.php b/htdocs/admin/tools/index.php
index c6d6e6a0aa4..dfbd00d949e 100644
--- a/htdocs/admin/tools/index.php
+++ b/htdocs/admin/tools/index.php
@@ -22,7 +22,7 @@
* \brief Page d'accueil de l'espace outils admin
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("admin");
$langs->load("companies");
diff --git a/htdocs/admin/tools/listevents.php b/htdocs/admin/tools/listevents.php
index 38f79af9111..9f44aa42400 100644
--- a/htdocs/admin/tools/listevents.php
+++ b/htdocs/admin/tools/listevents.php
@@ -22,7 +22,7 @@
* \brief List of security events
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/events.class.php';
if (! $user->admin)
diff --git a/htdocs/admin/tools/listsessions.php b/htdocs/admin/tools/listsessions.php
index b08a07bcd35..0233073b7c7 100644
--- a/htdocs/admin/tools/listsessions.php
+++ b/htdocs/admin/tools/listsessions.php
@@ -22,7 +22,7 @@
* \brief List of PHP sessions
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("install");
diff --git a/htdocs/admin/tools/purge.php b/htdocs/admin/tools/purge.php
index 5c0144f7bb1..c4d9c721f6e 100644
--- a/htdocs/admin/tools/purge.php
+++ b/htdocs/admin/tools/purge.php
@@ -21,7 +21,7 @@
* \brief Page to purge files (temporary or not)
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
include_once(DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php');
$langs->load("admin");
diff --git a/htdocs/admin/tools/update.php b/htdocs/admin/tools/update.php
index 567dcfc8323..04c5fb12d6c 100644
--- a/htdocs/admin/tools/update.php
+++ b/htdocs/admin/tools/update.php
@@ -22,7 +22,7 @@
* \brief Page to make a Dolibarr online upgrade
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
include_once $dolibarr_main_document_root."/core/lib/files.lib.php";
$langs->load("admin");
diff --git a/htdocs/admin/translation.php b/htdocs/admin/translation.php
index 24dcac475d1..a62d6b808cb 100755
--- a/htdocs/admin/translation.php
+++ b/htdocs/admin/translation.php
@@ -21,7 +21,7 @@
* \brief Page to show translation information
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("companies");
diff --git a/htdocs/admin/triggers.php b/htdocs/admin/triggers.php
index 489e24d1e6e..a9c42e0bdd6 100644
--- a/htdocs/admin/triggers.php
+++ b/htdocs/admin/triggers.php
@@ -20,7 +20,7 @@
* \brief Page to view triggers
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/interfaces.class.php';
$langs->load("admin");
diff --git a/htdocs/admin/user.php b/htdocs/admin/user.php
index 0bdaf27b70d..8b002bd1409 100644
--- a/htdocs/admin/user.php
+++ b/htdocs/admin/user.php
@@ -26,7 +26,7 @@
* \brief Page to setup user module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("admin");
diff --git a/htdocs/admin/workflow.php b/htdocs/admin/workflow.php
index bb2b5137ae9..adf85c8e33b 100755
--- a/htdocs/admin/workflow.php
+++ b/htdocs/admin/workflow.php
@@ -24,7 +24,7 @@
* \brief Workflows setup page
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("admin");
diff --git a/htdocs/bookmarks/admin/bookmark.php b/htdocs/bookmarks/admin/bookmark.php
index 8c19f53cf82..a560abb35b7 100644
--- a/htdocs/bookmarks/admin/bookmark.php
+++ b/htdocs/bookmarks/admin/bookmark.php
@@ -22,7 +22,7 @@
* \brief Page to setup bookmark module
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("admin");
diff --git a/htdocs/bookmarks/fiche.php b/htdocs/bookmarks/fiche.php
index dbcc1e998dd..17263261056 100644
--- a/htdocs/bookmarks/fiche.php
+++ b/htdocs/bookmarks/fiche.php
@@ -23,7 +23,7 @@
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/bookmarks/class/bookmark.class.php';
$langs->load("other");
diff --git a/htdocs/bookmarks/liste.php b/htdocs/bookmarks/liste.php
index c95a45d0582..8e3d0ea9e92 100644
--- a/htdocs/bookmarks/liste.php
+++ b/htdocs/bookmarks/liste.php
@@ -21,7 +21,7 @@
* \ingroup bookmark
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/bookmarks/class/bookmark.class.php';
diff --git a/htdocs/boutique/admin/boutique.php b/htdocs/boutique/admin/boutique.php
index d6c0c5f0e6f..d08f03ee993 100644
--- a/htdocs/boutique/admin/boutique.php
+++ b/htdocs/boutique/admin/boutique.php
@@ -26,7 +26,7 @@
* \brief Page d'administration/configuration du module OsCommerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
$langs->load("admin");
diff --git a/htdocs/boutique/client/fiche.php b/htdocs/boutique/client/fiche.php
index 8dde5dbbf20..6da095e5ce1 100644
--- a/htdocs/boutique/client/fiche.php
+++ b/htdocs/boutique/client/fiche.php
@@ -24,7 +24,7 @@
* \brief Page fiche client OSCommerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
include_once(DOL_DOCUMENT_ROOT.'/boutique/client/class/boutiqueclient.class.php');
diff --git a/htdocs/boutique/client/index.php b/htdocs/boutique/client/index.php
index 9199a60cce2..cc509c2760f 100644
--- a/htdocs/boutique/client/index.php
+++ b/htdocs/boutique/client/index.php
@@ -23,7 +23,7 @@
* \brief Page gestion client OSCommerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
$langs->load("companies");
diff --git a/htdocs/boutique/commande/ca.php b/htdocs/boutique/commande/ca.php
index 5c73a2fac6d..9c70d97876b 100644
--- a/htdocs/boutique/commande/ca.php
+++ b/htdocs/boutique/commande/ca.php
@@ -23,7 +23,7 @@
* \brief Page ca commandes du module OsCommerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
diff --git a/htdocs/boutique/commande/fiche.php b/htdocs/boutique/commande/fiche.php
index 4427b9a628f..aa58deac4fc 100644
--- a/htdocs/boutique/commande/fiche.php
+++ b/htdocs/boutique/commande/fiche.php
@@ -24,7 +24,7 @@
* \brief Page fiche commande OSCommerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
include_once(DOL_DOCUMENT_ROOT.'/boutique/commande/class/boutiquecommande.class.php');
diff --git a/htdocs/boutique/commande/index.php b/htdocs/boutique/commande/index.php
index 9d6d29fcb1c..0bf180ae221 100644
--- a/htdocs/boutique/commande/index.php
+++ b/htdocs/boutique/commande/index.php
@@ -23,7 +23,7 @@
* \brief Page gestion commandes OSCommerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
diff --git a/htdocs/boutique/critiques/bestproduct.php b/htdocs/boutique/critiques/bestproduct.php
index 11fb678d83a..b06233575bc 100644
--- a/htdocs/boutique/critiques/bestproduct.php
+++ b/htdocs/boutique/critiques/bestproduct.php
@@ -24,7 +24,7 @@
* \brief Page affichage meilleures critiques OS Commerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
diff --git a/htdocs/boutique/critiques/fiche.php b/htdocs/boutique/critiques/fiche.php
index 2a4fbd5a56a..4b652c3ce55 100644
--- a/htdocs/boutique/critiques/fiche.php
+++ b/htdocs/boutique/critiques/fiche.php
@@ -23,7 +23,7 @@
* \brief Page fiche critique OS Commerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
$id=$_GET["id"];
diff --git a/htdocs/boutique/critiques/index.php b/htdocs/boutique/critiques/index.php
index d50b91db305..66db48a4aab 100644
--- a/htdocs/boutique/critiques/index.php
+++ b/htdocs/boutique/critiques/index.php
@@ -23,7 +23,7 @@
* \brief Page gestion critiques OSCommerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
diff --git a/htdocs/boutique/index.php b/htdocs/boutique/index.php
index c91ca05d5cc..09938bb5d35 100644
--- a/htdocs/boutique/index.php
+++ b/htdocs/boutique/index.php
@@ -22,7 +22,7 @@
* \brief Page accueil zone boutique
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
$langs->load("boutique");
diff --git a/htdocs/boutique/notification/index.php b/htdocs/boutique/notification/index.php
index 27b83cb7de1..3f53913bc88 100644
--- a/htdocs/boutique/notification/index.php
+++ b/htdocs/boutique/notification/index.php
@@ -24,7 +24,7 @@
* \brief Page gestion notification OS Commerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
$langs->load("products");
diff --git a/htdocs/boutique/notification/produits.php b/htdocs/boutique/notification/produits.php
index 2f1f8108496..cfdf6fe9b83 100644
--- a/htdocs/boutique/notification/produits.php
+++ b/htdocs/boutique/notification/produits.php
@@ -24,7 +24,7 @@
* \brief Page fiche notification produits OS Commerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
diff --git a/htdocs/boutique/produits/index.php b/htdocs/boutique/produits/index.php
index 53bb4508d14..da5d7ac80c0 100644
--- a/htdocs/boutique/produits/index.php
+++ b/htdocs/boutique/produits/index.php
@@ -23,7 +23,7 @@
* \brief Page gestion produits du module OsCommerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
$langs->load("companies");
diff --git a/htdocs/boutique/produits/osc-liste.php b/htdocs/boutique/produits/osc-liste.php
index f8d32b486cd..c90356dfb58 100644
--- a/htdocs/boutique/produits/osc-liste.php
+++ b/htdocs/boutique/produits/osc-liste.php
@@ -23,7 +23,7 @@
* \brief Page gestion produits du module OsCommerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
diff --git a/htdocs/boutique/promotion/index.php b/htdocs/boutique/promotion/index.php
index 470887dde09..dd06226aaac 100644
--- a/htdocs/boutique/promotion/index.php
+++ b/htdocs/boutique/promotion/index.php
@@ -22,7 +22,7 @@
* \brief Page gestion promotions OSCommerce
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/boutique/osc_master.inc.php';
diff --git a/htdocs/cashdesk/admin/cashdesk.php b/htdocs/cashdesk/admin/cashdesk.php
index 88183d13eea..ddc72aa795a 100644
--- a/htdocs/cashdesk/admin/cashdesk.php
+++ b/htdocs/cashdesk/admin/cashdesk.php
@@ -22,7 +22,7 @@
* \brief Setup page for cashdesk module
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php';
diff --git a/htdocs/cashdesk/affIndex.php b/htdocs/cashdesk/affIndex.php
index 3954fd380ae..0b5e0b2b2f9 100644
--- a/htdocs/cashdesk/affIndex.php
+++ b/htdocs/cashdesk/affIndex.php
@@ -23,7 +23,7 @@
* \ingroup cashdesk
* \brief First page of point of sale module
*/
-require('../main.inc.php');
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php';
// Test if already logged
diff --git a/htdocs/cashdesk/facturation_dhtml.php b/htdocs/cashdesk/facturation_dhtml.php
index aacee61db6e..d327b2af07c 100644
--- a/htdocs/cashdesk/facturation_dhtml.php
+++ b/htdocs/cashdesk/facturation_dhtml.php
@@ -34,7 +34,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
//if (! defined("NOLOGIN")) define("NOLOGIN",'1');
// Change this following line to use the correct relative path (../, ../../, etc)
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php';
//header("Content-type: text/html; charset=UTF-8");
diff --git a/htdocs/cashdesk/facturation_verif.php b/htdocs/cashdesk/facturation_verif.php
index 185e570a084..86be5906cc4 100644
--- a/htdocs/cashdesk/facturation_verif.php
+++ b/htdocs/cashdesk/facturation_verif.php
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-require('../main.inc.php');
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/class/Facturation.class.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
diff --git a/htdocs/cashdesk/validation_ticket.php b/htdocs/cashdesk/validation_ticket.php
index f9ce2c0be7a..32473e765fc 100644
--- a/htdocs/cashdesk/validation_ticket.php
+++ b/htdocs/cashdesk/validation_ticket.php
@@ -15,7 +15,7 @@
* along with this program. If not, see .
*/
-require('../main.inc.php');
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/class/Facturation.class.php';
diff --git a/htdocs/cashdesk/validation_verif.php b/htdocs/cashdesk/validation_verif.php
index 4e73271a9bb..fcd8eda6873 100644
--- a/htdocs/cashdesk/validation_verif.php
+++ b/htdocs/cashdesk/validation_verif.php
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
-require('../main.inc.php');
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/include/environnement.php';
require_once DOL_DOCUMENT_ROOT.'/cashdesk/class/Facturation.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
diff --git a/htdocs/categories/categorie.php b/htdocs/categories/categorie.php
index c68666d4b8c..48832c0eb86 100644
--- a/htdocs/categories/categorie.php
+++ b/htdocs/categories/categorie.php
@@ -26,7 +26,7 @@
* \brief Page to show category tab
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
$langs->load("categories");
diff --git a/htdocs/categories/edit.php b/htdocs/categories/edit.php
index 7e6ed1c3b0d..cec7444503e 100644
--- a/htdocs/categories/edit.php
+++ b/htdocs/categories/edit.php
@@ -24,7 +24,7 @@
* \brief Page d'edition de categorie produit
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php
index 2a6a1d01e84..987ad62e7bf 100644
--- a/htdocs/categories/fiche.php
+++ b/htdocs/categories/fiche.php
@@ -24,7 +24,7 @@
* \brief Page to create a new category
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
$langs->load("categories");
diff --git a/htdocs/categories/index.php b/htdocs/categories/index.php
index d684f58320f..fcde9d3361f 100644
--- a/htdocs/categories/index.php
+++ b/htdocs/categories/index.php
@@ -25,7 +25,7 @@
* \brief Home page of category area
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/treeview.lib.php';
diff --git a/htdocs/categories/liste.php b/htdocs/categories/liste.php
index 662ecfdee82..cc642df17e5 100644
--- a/htdocs/categories/liste.php
+++ b/htdocs/categories/liste.php
@@ -22,7 +22,7 @@
* \brief Page liste des categories
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
if (!$user->rights->categorie->lire) accessforbidden();
diff --git a/htdocs/categories/photos.php b/htdocs/categories/photos.php
index 9498181ffac..36bd186c627 100644
--- a/htdocs/categories/photos.php
+++ b/htdocs/categories/photos.php
@@ -24,7 +24,7 @@
* \brief Gestion des photos d'une categorie
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/categories.lib.php';
diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php
index 72504f9c19e..8f5a3d1dd3f 100644
--- a/htdocs/categories/viewcat.php
+++ b/htdocs/categories/viewcat.php
@@ -24,7 +24,7 @@
* \brief Page to show a category card
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/categories.lib.php';
diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php
index ffed510ff7b..bde511d28ff 100755
--- a/htdocs/comm/action/document.php
+++ b/htdocs/comm/action/document.php
@@ -25,7 +25,7 @@
* \brief Page of documents linked to actions
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/agenda.lib.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/comm/action/class/cactioncomm.class.php';
diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php
index f0d64cb33e4..632f6f0cfa9 100644
--- a/htdocs/comm/action/fiche.php
+++ b/htdocs/comm/action/fiche.php
@@ -25,7 +25,7 @@
* \brief Page for event card
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/agenda.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php
index c35c14e05a2..70f30002852 100644
--- a/htdocs/comm/action/index.php
+++ b/htdocs/comm/action/index.php
@@ -25,7 +25,7 @@
* \brief Home page of calendar events
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';
diff --git a/htdocs/comm/action/info.php b/htdocs/comm/action/info.php
index 32973386be7..09f92d6ef62 100644
--- a/htdocs/comm/action/info.php
+++ b/htdocs/comm/action/info.php
@@ -22,7 +22,7 @@
* \brief Page des informations d'une action
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/agenda.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
diff --git a/htdocs/comm/action/listactions.php b/htdocs/comm/action/listactions.php
index ef2d524a118..1b429736f08 100644
--- a/htdocs/comm/action/listactions.php
+++ b/htdocs/comm/action/listactions.php
@@ -24,7 +24,7 @@
* \brief Page to list actions
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
diff --git a/htdocs/comm/action/rapport/index.php b/htdocs/comm/action/rapport/index.php
index ac7c2d1ec50..e1154d435a1 100644
--- a/htdocs/comm/action/rapport/index.php
+++ b/htdocs/comm/action/rapport/index.php
@@ -24,7 +24,7 @@
* \brief Page with reports of actions
*/
-require("../../../main.inc.php");
+require '../../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';
diff --git a/htdocs/comm/addpropal.php b/htdocs/comm/addpropal.php
index b2d06c4e1f7..fa62f751632 100644
--- a/htdocs/comm/addpropal.php
+++ b/htdocs/comm/addpropal.php
@@ -25,7 +25,7 @@
* \brief Page to add a new commercial proposal
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/modules/propale/modules_propale.php';
if (! empty($conf->projet->enabled)) {
diff --git a/htdocs/comm/address.php b/htdocs/comm/address.php
index af659bd460a..6c36bb91774 100644
--- a/htdocs/comm/address.php
+++ b/htdocs/comm/address.php
@@ -23,7 +23,7 @@
* \brief Tab address of thirdparty
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/address.class.php';
diff --git a/htdocs/comm/bookmark.php b/htdocs/comm/bookmark.php
index 3d3acc182cf..8e581f0cb51 100644
--- a/htdocs/comm/bookmark.php
+++ b/htdocs/comm/bookmark.php
@@ -21,7 +21,7 @@
*/
-require("../main.inc.php");
+require '../main.inc.php';
$sortfield = GETPOST("sortfield",'alpha');
diff --git a/htdocs/comm/contact.php b/htdocs/comm/contact.php
index 4e74ec1c293..d1e29fe5a40 100644
--- a/htdocs/comm/contact.php
+++ b/htdocs/comm/contact.php
@@ -24,7 +24,7 @@
* \brief Liste des contacts
*/
-require("../main.inc.php");
+require '../main.inc.php';
$langs->load("companies");
diff --git a/htdocs/comm/fiche.php b/htdocs/comm/fiche.php
index 0e2981e36d4..04b79769579 100644
--- a/htdocs/comm/fiche.php
+++ b/htdocs/comm/fiche.php
@@ -27,7 +27,7 @@
* \brief Page to show customer card of a third party
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php
index 305b7513a28..0a76606695e 100644
--- a/htdocs/comm/index.php
+++ b/htdocs/comm/index.php
@@ -23,7 +23,7 @@
* \brief Home page of commercial area
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/client.class.php';
require_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';
diff --git a/htdocs/comm/list.php b/htdocs/comm/list.php
index 8437ac4e0db..f7da122ad49 100755
--- a/htdocs/comm/list.php
+++ b/htdocs/comm/list.php
@@ -23,7 +23,7 @@
* \brief List of customers
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
$langs->load("companies");
diff --git a/htdocs/comm/mailing/cibles.php b/htdocs/comm/mailing/cibles.php
index 3129b2ac0ae..ca691d65753 100644
--- a/htdocs/comm/mailing/cibles.php
+++ b/htdocs/comm/mailing/cibles.php
@@ -23,7 +23,7 @@
* \brief Page to define emailing targets
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/modules/mailings/modules_mailings.php';
require_once DOL_DOCUMENT_ROOT.'/comm/mailing/class/mailing.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/emailing.lib.php';
diff --git a/htdocs/comm/mailing/fiche.php b/htdocs/comm/mailing/fiche.php
index b81e7a75038..45a13643776 100644
--- a/htdocs/comm/mailing/fiche.php
+++ b/htdocs/comm/mailing/fiche.php
@@ -23,7 +23,7 @@
* \brief Fiche mailing, onglet general
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/emailing.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/CMailFile.class.php';
diff --git a/htdocs/comm/mailing/index.php b/htdocs/comm/mailing/index.php
index 5f4d63baf70..15c823aba57 100644
--- a/htdocs/comm/mailing/index.php
+++ b/htdocs/comm/mailing/index.php
@@ -23,7 +23,7 @@
* \brief Page accueil de la zone mailing
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT .'/comm/mailing/class/mailing.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
diff --git a/htdocs/comm/mailing/info.php b/htdocs/comm/mailing/info.php
index f96de7dfee9..34e987fe032 100644
--- a/htdocs/comm/mailing/info.php
+++ b/htdocs/comm/mailing/info.php
@@ -22,7 +22,7 @@
* \brief Page with log information for emailing
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT .'/comm/mailing/class/mailing.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/emailing.lib.php';
diff --git a/htdocs/comm/mailing/liste.php b/htdocs/comm/mailing/liste.php
index bcd6f3987c6..d9f2cdc1256 100644
--- a/htdocs/comm/mailing/liste.php
+++ b/htdocs/comm/mailing/liste.php
@@ -22,7 +22,7 @@
* \brief Liste des mailings
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/comm/mailing/class/mailing.class.php';
$langs->load("mails");
diff --git a/htdocs/comm/multiprix.php b/htdocs/comm/multiprix.php
index dd394c4f49c..2dd6bf6dc38 100644
--- a/htdocs/comm/multiprix.php
+++ b/htdocs/comm/multiprix.php
@@ -23,7 +23,7 @@
* \brief Onglet choix du niveau de prix
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index 84a556c489a..a26164ebfdc 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -29,7 +29,7 @@
* \brief Page of commercial proposals card and list
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formpropal.class.php';
diff --git a/htdocs/comm/propal/apercu.php b/htdocs/comm/propal/apercu.php
index afc2f77b04c..5b4fc238342 100644
--- a/htdocs/comm/propal/apercu.php
+++ b/htdocs/comm/propal/apercu.php
@@ -25,7 +25,7 @@
* \brief Page de l'onglet apercu d'une propal
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/propal.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
diff --git a/htdocs/comm/propal/contact.php b/htdocs/comm/propal/contact.php
index 2a8e4d5715a..6264810c37d 100644
--- a/htdocs/comm/propal/contact.php
+++ b/htdocs/comm/propal/contact.php
@@ -24,7 +24,7 @@
* \brief Onglet de gestion des contacts de propal
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/propal.lib.php';
diff --git a/htdocs/comm/propal/document.php b/htdocs/comm/propal/document.php
index 4ae9fcf15cb..f0b78a81888 100644
--- a/htdocs/comm/propal/document.php
+++ b/htdocs/comm/propal/document.php
@@ -24,7 +24,7 @@
* \brief Page de gestion des documents attaches a une proposition commerciale
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/propal.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
diff --git a/htdocs/comm/propal/index.php b/htdocs/comm/propal/index.php
index 6257d6a0811..a6c97c67bab 100644
--- a/htdocs/comm/propal/index.php
+++ b/htdocs/comm/propal/index.php
@@ -23,7 +23,7 @@
* \brief Home page of proposal area
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT .'/comm/propal/class/propal.class.php';
diff --git a/htdocs/comm/propal/info.php b/htdocs/comm/propal/info.php
index 36e905fe2ea..46fa8dd652b 100644
--- a/htdocs/comm/propal/info.php
+++ b/htdocs/comm/propal/info.php
@@ -23,7 +23,7 @@
* \brief Page d'affichage des infos d'une proposition commerciale
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/propal.lib.php';
diff --git a/htdocs/comm/propal/list.php b/htdocs/comm/propal/list.php
index 5ce0b8130f0..a8bb8278e3a 100644
--- a/htdocs/comm/propal/list.php
+++ b/htdocs/comm/propal/list.php
@@ -29,7 +29,7 @@
* \brief Page of commercial proposals card and list
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formpropal.class.php';
diff --git a/htdocs/comm/propal/note.php b/htdocs/comm/propal/note.php
index aa370677663..fec1a0d193e 100644
--- a/htdocs/comm/propal/note.php
+++ b/htdocs/comm/propal/note.php
@@ -24,7 +24,7 @@
* \brief Fiche d'information sur une proposition commerciale
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/propal.lib.php';
diff --git a/htdocs/comm/propal/stats/index.php b/htdocs/comm/propal/stats/index.php
index 56c0f950e76..dc4d24d5dd1 100644
--- a/htdocs/comm/propal/stats/index.php
+++ b/htdocs/comm/propal/stats/index.php
@@ -24,7 +24,7 @@
* \brief Page des stats propositions commerciales
*/
-require("../../../main.inc.php");
+require '../../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propalestats.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php';
diff --git a/htdocs/comm/prospect/index.php b/htdocs/comm/prospect/index.php
index cdfc17039cf..4c598a5871f 100644
--- a/htdocs/comm/prospect/index.php
+++ b/htdocs/comm/prospect/index.php
@@ -23,7 +23,7 @@
* \brief Home page of propest area
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/agenda.lib.php';
$langs->load("propal");
diff --git a/htdocs/comm/prospect/list.php b/htdocs/comm/prospect/list.php
index ff0a6c69323..7dff9bcc60e 100755
--- a/htdocs/comm/prospect/list.php
+++ b/htdocs/comm/prospect/list.php
@@ -24,7 +24,7 @@
* \brief Page to list prospects
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/comm/prospect/class/prospect.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
diff --git a/htdocs/comm/prospect/recap-prospect.php b/htdocs/comm/prospect/recap-prospect.php
index f8732ff36f5..3640cee6279 100644
--- a/htdocs/comm/prospect/recap-prospect.php
+++ b/htdocs/comm/prospect/recap-prospect.php
@@ -22,7 +22,7 @@
* \brief Page with prospect summary
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
diff --git a/htdocs/comm/recap-client.php b/htdocs/comm/recap-client.php
index cdd86eb553c..fe240ac2266 100644
--- a/htdocs/comm/recap-client.php
+++ b/htdocs/comm/recap-client.php
@@ -22,7 +22,7 @@
* \brief Page de fiche recap client
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
diff --git a/htdocs/comm/remise.php b/htdocs/comm/remise.php
index 184961f2091..c23481ed1bd 100644
--- a/htdocs/comm/remise.php
+++ b/htdocs/comm/remise.php
@@ -22,7 +22,7 @@
* \brief Page to edit relative discount of a customer
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
diff --git a/htdocs/comm/remx.php b/htdocs/comm/remx.php
index 40cf0bbd089..db7b7b71f56 100644
--- a/htdocs/comm/remx.php
+++ b/htdocs/comm/remx.php
@@ -23,7 +23,7 @@
* \brief Page to edit absolute discounts for a customer
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
diff --git a/htdocs/commande/apercu.php b/htdocs/commande/apercu.php
index 335b7a1a756..83822aa2407 100644
--- a/htdocs/commande/apercu.php
+++ b/htdocs/commande/apercu.php
@@ -25,7 +25,7 @@
* \brief Page de l'onglet apercu d'une commande
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
diff --git a/htdocs/commande/contact.php b/htdocs/commande/contact.php
index 9848c15449b..3516e8b0833 100644
--- a/htdocs/commande/contact.php
+++ b/htdocs/commande/contact.php
@@ -24,7 +24,7 @@
* \brief Onglet de gestion des contacts de commande
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
diff --git a/htdocs/commande/customer.php b/htdocs/commande/customer.php
index 304f3cfb0a2..d607879c5c0 100755
--- a/htdocs/commande/customer.php
+++ b/htdocs/commande/customer.php
@@ -26,7 +26,7 @@
* \brief Show list of customers to add an new invoice from orders
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';
diff --git a/htdocs/commande/document.php b/htdocs/commande/document.php
index 5fe70cefbbb..aa6ff9914f7 100644
--- a/htdocs/commande/document.php
+++ b/htdocs/commande/document.php
@@ -24,7 +24,7 @@
* \brief Page de gestion des documents attachees a une commande
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php
index 690cc98a3fd..235b5680c25 100644
--- a/htdocs/commande/fiche.php
+++ b/htdocs/commande/fiche.php
@@ -29,7 +29,7 @@
* \brief Page to show customer order
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formorder.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/modules/commande/modules_commande.php';
diff --git a/htdocs/commande/index.php b/htdocs/commande/index.php
index 450415624c4..a6000d2a44e 100644
--- a/htdocs/commande/index.php
+++ b/htdocs/commande/index.php
@@ -23,7 +23,7 @@
* \brief Home page of customer order module
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT .'/core/class/notify.class.php';
require_once DOL_DOCUMENT_ROOT .'/commande/class/commande.class.php';
diff --git a/htdocs/commande/info.php b/htdocs/commande/info.php
index ff1c3721181..bd31c21b337 100644
--- a/htdocs/commande/info.php
+++ b/htdocs/commande/info.php
@@ -22,7 +22,7 @@
* \brief Page des informations d'une commande
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
diff --git a/htdocs/commande/liste.php b/htdocs/commande/liste.php
index 600c1702927..08c68939903 100644
--- a/htdocs/commande/liste.php
+++ b/htdocs/commande/liste.php
@@ -25,7 +25,7 @@
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
diff --git a/htdocs/commande/note.php b/htdocs/commande/note.php
index 4eabe72397f..9ecc195d794 100644
--- a/htdocs/commande/note.php
+++ b/htdocs/commande/note.php
@@ -23,7 +23,7 @@
* \brief Fiche de notes sur une commande
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/order.lib.php';
require_once DOL_DOCUMENT_ROOT .'/commande/class/commande.class.php';
diff --git a/htdocs/commande/orderstoinvoice.php b/htdocs/commande/orderstoinvoice.php
index 624e3f2d21e..83f31fe7598 100755
--- a/htdocs/commande/orderstoinvoice.php
+++ b/htdocs/commande/orderstoinvoice.php
@@ -27,7 +27,7 @@
* \brief Page to invoice multiple orders
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
diff --git a/htdocs/commande/stats/index.php b/htdocs/commande/stats/index.php
index 91b7fd30e5e..a92dd6cb2f3 100644
--- a/htdocs/commande/stats/index.php
+++ b/htdocs/commande/stats/index.php
@@ -24,7 +24,7 @@
* \brief Page with customers or suppliers orders statistics
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php';
require_once DOL_DOCUMENT_ROOT.'/commande/class/commandestats.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php';
diff --git a/htdocs/commissions/index.php b/htdocs/commissions/index.php
index 27ac8c1a65a..c2ec0e4ef88 100644
--- a/htdocs/commissions/index.php
+++ b/htdocs/commissions/index.php
@@ -21,7 +21,7 @@
* \brief Page des commissions par agent commercial
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
diff --git a/htdocs/compta/ajaxpayment.php b/htdocs/compta/ajaxpayment.php
index d1dce30d069..e9ceafdaf52 100644
--- a/htdocs/compta/ajaxpayment.php
+++ b/htdocs/compta/ajaxpayment.php
@@ -32,7 +32,7 @@ if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML','1'); // If we don't nee
//if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
//if (! defined("NOLOGIN")) define("NOLOGIN",'1'); // If this page is public (can be called outside logged session)
-require('../main.inc.php');
+require '../main.inc.php';
$langs->Load('compta');
diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php
index 4dbfbeece88..61b29260440 100644
--- a/htdocs/compta/bank/account.php
+++ b/htdocs/compta/bank/account.php
@@ -26,7 +26,7 @@
* \brief List of details of bank transactions for an account
*/
-require("./pre.inc.php"); // We use pre.inc.php to have a dynamic menu
+require './pre.inc.php'; // We use pre.inc.php to have a dynamic menu
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
diff --git a/htdocs/compta/bank/admin/bank.php b/htdocs/compta/bank/admin/bank.php
index 2a73ac6ec4e..99ac5b91834 100644
--- a/htdocs/compta/bank/admin/bank.php
+++ b/htdocs/compta/bank/admin/bank.php
@@ -23,7 +23,7 @@
* \brief Page to setup the bank module
*/
-require("../../../main.inc.php");
+require '../../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
diff --git a/htdocs/compta/bank/annuel.php b/htdocs/compta/bank/annuel.php
index feebeef5f34..6f4d0add0b5 100644
--- a/htdocs/compta/bank/annuel.php
+++ b/htdocs/compta/bank/annuel.php
@@ -23,7 +23,7 @@
* \brief Page reporting mensuel Entrees/Sorties d'un compte bancaire
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/compta/bank/bankid_fr.php b/htdocs/compta/bank/bankid_fr.php
index ebb61601049..96b7a985919 100644
--- a/htdocs/compta/bank/bankid_fr.php
+++ b/htdocs/compta/bank/bankid_fr.php
@@ -24,7 +24,7 @@
* \brief Fiche creation compte bancaire
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
diff --git a/htdocs/compta/bank/bilan.php b/htdocs/compta/bank/bilan.php
index d12b2560f97..1b1a64d96a3 100644
--- a/htdocs/compta/bank/bilan.php
+++ b/htdocs/compta/bank/bilan.php
@@ -22,7 +22,7 @@
* \brief Page de bilan
*/
-require("./pre.inc.php");
+require './pre.inc.php';
if (!$user->rights->banque->lire)
accessforbidden();
diff --git a/htdocs/compta/bank/budget.php b/htdocs/compta/bank/budget.php
index 4b540a51b2b..93a4738c87b 100644
--- a/htdocs/compta/bank/budget.php
+++ b/htdocs/compta/bank/budget.php
@@ -23,7 +23,7 @@
* \brief Page de budget
*/
-require("./pre.inc.php");
+require './pre.inc.php';
$langs->load("categories");
diff --git a/htdocs/compta/bank/categ.php b/htdocs/compta/bank/categ.php
index be5365ccfef..a59d97084f5 100644
--- a/htdocs/compta/bank/categ.php
+++ b/htdocs/compta/bank/categ.php
@@ -23,7 +23,7 @@
* \brief Page ajout de categories bancaires
*/
-require("./pre.inc.php");
+require './pre.inc.php';
if (!$user->rights->banque->configurer)
accessforbidden();
diff --git a/htdocs/compta/bank/fiche.php b/htdocs/compta/bank/fiche.php
index 709d7fbf64c..1bb97a2ba90 100644
--- a/htdocs/compta/bank/fiche.php
+++ b/htdocs/compta/bank/fiche.php
@@ -24,7 +24,7 @@
* \brief Page to create/view a bank account
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
diff --git a/htdocs/compta/bank/graph.php b/htdocs/compta/bank/graph.php
index 188439d3773..6bf5de88afe 100644
--- a/htdocs/compta/bank/graph.php
+++ b/htdocs/compta/bank/graph.php
@@ -23,7 +23,7 @@
* \brief Page graph des transactions bancaires
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php';
diff --git a/htdocs/compta/bank/index.php b/htdocs/compta/bank/index.php
index f46a69f5bd6..3e8e93798e8 100644
--- a/htdocs/compta/bank/index.php
+++ b/htdocs/compta/bank/index.php
@@ -23,7 +23,7 @@
* \brief Home page of bank module
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
diff --git a/htdocs/compta/bank/info.php b/htdocs/compta/bank/info.php
index 75c313a62b5..61db89b0180 100644
--- a/htdocs/compta/bank/info.php
+++ b/htdocs/compta/bank/info.php
@@ -21,7 +21,7 @@
* \brief Onglet info d'une ecriture bancaire
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php
index 2762c97d0f3..8815388fd69 100644
--- a/htdocs/compta/bank/ligne.php
+++ b/htdocs/compta/bank/ligne.php
@@ -25,7 +25,7 @@
* \brief Page to edit a bank transaction record
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
$langs->load("banks");
diff --git a/htdocs/compta/bank/rappro.php b/htdocs/compta/bank/rappro.php
index 95d4c1abf09..de1cb869b87 100644
--- a/htdocs/compta/bank/rappro.php
+++ b/htdocs/compta/bank/rappro.php
@@ -23,7 +23,7 @@
* \brief Page to reconciliate bank transactions
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
diff --git a/htdocs/compta/bank/releve.php b/htdocs/compta/bank/releve.php
index 97e85853284..ccd6592d222 100644
--- a/htdocs/compta/bank/releve.php
+++ b/htdocs/compta/bank/releve.php
@@ -23,7 +23,7 @@
* \brief Page d'affichage d'un releve
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
$action=GETPOST('action');
diff --git a/htdocs/compta/bank/search.php b/htdocs/compta/bank/search.php
index ac4303c383f..29be2b42d02 100644
--- a/htdocs/compta/bank/search.php
+++ b/htdocs/compta/bank/search.php
@@ -24,7 +24,7 @@
* \brief List of bank transactions
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/compta/bank/treso.php b/htdocs/compta/bank/treso.php
index 7de0e9246e1..61b3f982635 100644
--- a/htdocs/compta/bank/treso.php
+++ b/htdocs/compta/bank/treso.php
@@ -23,7 +23,7 @@
* \brief Page de detail du budget de tresorerie
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
diff --git a/htdocs/compta/bank/virement.php b/htdocs/compta/bank/virement.php
index a33c77b4138..f843c24dfc4 100644
--- a/htdocs/compta/bank/virement.php
+++ b/htdocs/compta/bank/virement.php
@@ -24,7 +24,7 @@
* \brief Page de saisie d'un virement
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/bank.lib.php';
$langs->load("banks");
diff --git a/htdocs/compta/charges/index.php b/htdocs/compta/charges/index.php
index 851b39b6ddd..73e79864a6a 100644
--- a/htdocs/compta/charges/index.php
+++ b/htdocs/compta/charges/index.php
@@ -23,7 +23,7 @@
* \brief Page to list payments of social contributions and vat
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/paymentsocialcontribution.class.php';
diff --git a/htdocs/compta/clients.php b/htdocs/compta/clients.php
index 9d53e7d4d85..05a45243d80 100644
--- a/htdocs/compta/clients.php
+++ b/htdocs/compta/clients.php
@@ -23,7 +23,7 @@
* \brief Show list of customers to add an new invoice
*/
-require('../main.inc.php');
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';
diff --git a/htdocs/compta/deplacement/fiche.php b/htdocs/compta/deplacement/fiche.php
index 7d521cc7411..cd66af34cc3 100644
--- a/htdocs/compta/deplacement/fiche.php
+++ b/htdocs/compta/deplacement/fiche.php
@@ -23,7 +23,7 @@
* \brief Page to show a trip card
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/trip.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/deplacement/class/deplacement.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
diff --git a/htdocs/compta/deplacement/index.php b/htdocs/compta/deplacement/index.php
index ebc7be64685..a5188e38f04 100644
--- a/htdocs/compta/deplacement/index.php
+++ b/htdocs/compta/deplacement/index.php
@@ -23,7 +23,7 @@
* \brief Page list of expenses
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/deplacement/class/deplacement.class.php';
diff --git a/htdocs/compta/deplacement/info.php b/htdocs/compta/deplacement/info.php
index c5eaa1a267c..61c70855f54 100644
--- a/htdocs/compta/deplacement/info.php
+++ b/htdocs/compta/deplacement/info.php
@@ -22,7 +22,7 @@
* \brief Page to show a trip information
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/trip.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/deplacement/class/deplacement.class.php';
diff --git a/htdocs/compta/deplacement/list.php b/htdocs/compta/deplacement/list.php
index e6d5fc845ed..2002a0e0f0a 100755
--- a/htdocs/compta/deplacement/list.php
+++ b/htdocs/compta/deplacement/list.php
@@ -24,7 +24,7 @@
* \brief Page to list trips and expenses
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/deplacement/class/deplacement.class.php';
diff --git a/htdocs/compta/deplacement/stats/index.php b/htdocs/compta/deplacement/stats/index.php
index 6de5a23d9c7..2ca118c47cf 100755
--- a/htdocs/compta/deplacement/stats/index.php
+++ b/htdocs/compta/deplacement/stats/index.php
@@ -23,7 +23,7 @@
* \brief Page des stats deplacement et notes de frais
*/
-require("../../../main.inc.php");
+require '../../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/deplacement/class/deplacementstats.class.php';
diff --git a/htdocs/compta/dons/fiche.php b/htdocs/compta/dons/fiche.php
index 72dbf37579b..bc49df3ff4d 100644
--- a/htdocs/compta/dons/fiche.php
+++ b/htdocs/compta/dons/fiche.php
@@ -23,7 +23,7 @@
* \brief Page of donation card
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/modules/dons/modules_don.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
diff --git a/htdocs/compta/dons/index.php b/htdocs/compta/dons/index.php
index 923d1d35e06..6c0f789b9b8 100644
--- a/htdocs/compta/dons/index.php
+++ b/htdocs/compta/dons/index.php
@@ -23,7 +23,7 @@
* \brief Home page of donation module
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/dons/class/don.class.php';
$langs->load("donations");
diff --git a/htdocs/compta/dons/liste.php b/htdocs/compta/dons/liste.php
index bf03a077bac..ced00f94c50 100644
--- a/htdocs/compta/dons/liste.php
+++ b/htdocs/compta/dons/liste.php
@@ -23,7 +23,7 @@
* \brief Page de liste des dons
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/dons/class/don.class.php';
if (! empty($conf->projet->enabled)) require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
diff --git a/htdocs/compta/dons/stats.php b/htdocs/compta/dons/stats.php
index 08fc93a686b..8ccdfde750e 100644
--- a/htdocs/compta/dons/stats.php
+++ b/htdocs/compta/dons/stats.php
@@ -22,7 +22,7 @@
* \brief Page des statistiques de dons
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("donations");
diff --git a/htdocs/compta/facture/apercu.php b/htdocs/compta/facture/apercu.php
index 0e4dfe8abb4..bac78a55c78 100644
--- a/htdocs/compta/facture/apercu.php
+++ b/htdocs/compta/facture/apercu.php
@@ -26,7 +26,7 @@
* \brief Page de l'onglet apercu d'une facture
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/invoice.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
diff --git a/htdocs/compta/facture/contact.php b/htdocs/compta/facture/contact.php
index 8dc586144ee..43f6225396e 100644
--- a/htdocs/compta/facture/contact.php
+++ b/htdocs/compta/facture/contact.php
@@ -24,7 +24,7 @@
* \brief Onglet de gestion des contacts des factures
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
diff --git a/htdocs/compta/facture/document.php b/htdocs/compta/facture/document.php
index a9a87e9eeb9..f7394051b0d 100644
--- a/htdocs/compta/facture/document.php
+++ b/htdocs/compta/facture/document.php
@@ -24,7 +24,7 @@
* \brief Page for attached files on invoices
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/invoice.lib.php';
diff --git a/htdocs/compta/facture/fiche-rec.php b/htdocs/compta/facture/fiche-rec.php
index 6310fb445e9..9b16565678d 100644
--- a/htdocs/compta/facture/fiche-rec.php
+++ b/htdocs/compta/facture/fiche-rec.php
@@ -23,7 +23,7 @@
* \brief Page to show predefined invoice
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture-rec.class.php';
require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php';
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
diff --git a/htdocs/compta/facture/impayees.php b/htdocs/compta/facture/impayees.php
index cea39cbb631..6cd4850ddd8 100644
--- a/htdocs/compta/facture/impayees.php
+++ b/htdocs/compta/facture/impayees.php
@@ -24,7 +24,7 @@
* \brief Page to list and build liste of unpaid invoices
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
diff --git a/htdocs/compta/facture/info.php b/htdocs/compta/facture/info.php
index 5a80bd75e87..70e92d844f4 100644
--- a/htdocs/compta/facture/info.php
+++ b/htdocs/compta/facture/info.php
@@ -22,7 +22,7 @@
* \brief Page des informations d'une facture
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php
index 5a7ecbfbdce..2ce49772a1d 100644
--- a/htdocs/compta/facture/list.php
+++ b/htdocs/compta/facture/list.php
@@ -28,7 +28,7 @@
* \brief Page to create/see an invoice
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/modules/facture/modules_facture.php';
diff --git a/htdocs/compta/facture/note.php b/htdocs/compta/facture/note.php
index cb79bc84089..e37bd7ef4d7 100644
--- a/htdocs/compta/facture/note.php
+++ b/htdocs/compta/facture/note.php
@@ -23,7 +23,7 @@
* \brief Fiche de notes sur une facture
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/invoice.lib.php';
diff --git a/htdocs/compta/facture/prelevement.php b/htdocs/compta/facture/prelevement.php
index 466e4987633..161a1a57705 100644
--- a/htdocs/compta/facture/prelevement.php
+++ b/htdocs/compta/facture/prelevement.php
@@ -25,7 +25,7 @@
* \brief Gestion des prelevement d'une facture
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/invoice.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
diff --git a/htdocs/compta/facture/stats/index.php b/htdocs/compta/facture/stats/index.php
index e0932618afd..1de79ee5600 100644
--- a/htdocs/compta/facture/stats/index.php
+++ b/htdocs/compta/facture/stats/index.php
@@ -23,7 +23,7 @@
* \brief Page des stats factures
*/
-require("../../../main.inc.php");
+require '../../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facturestats.class.php';
diff --git a/htdocs/compta/index.php b/htdocs/compta/index.php
index ee212b044ee..54354da4885 100644
--- a/htdocs/compta/index.php
+++ b/htdocs/compta/index.php
@@ -23,7 +23,7 @@
* \brief Main page of accountancy area
*/
-require('../main.inc.php');
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
diff --git a/htdocs/compta/journal/index.php b/htdocs/compta/journal/index.php
index 1dcd13e3086..4b7e347204d 100755
--- a/htdocs/compta/journal/index.php
+++ b/htdocs/compta/journal/index.php
@@ -16,7 +16,7 @@
* along with this program. If not, see .
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("companies");
diff --git a/htdocs/compta/journal/purchasesjournal.php b/htdocs/compta/journal/purchasesjournal.php
index 39b31c86fd2..07cd3d146e2 100755
--- a/htdocs/compta/journal/purchasesjournal.php
+++ b/htdocs/compta/journal/purchasesjournal.php
@@ -23,7 +23,7 @@
* \ingroup societe, fournisseur, facture
* \brief Page with purchases journal
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/report.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
diff --git a/htdocs/compta/journal/sellsjournal.php b/htdocs/compta/journal/sellsjournal.php
index 60ae2bf7f58..66ed316c35e 100755
--- a/htdocs/compta/journal/sellsjournal.php
+++ b/htdocs/compta/journal/sellsjournal.php
@@ -23,7 +23,7 @@
* \ingroup societe, facture
* \brief Page with sells journal
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/report.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
diff --git a/htdocs/compta/localtax/clients.php b/htdocs/compta/localtax/clients.php
index 4663e80e08c..e62dc08adc9 100644
--- a/htdocs/compta/localtax/clients.php
+++ b/htdocs/compta/localtax/clients.php
@@ -21,7 +21,7 @@
* \brief Third parties localtax report
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/report.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/tax.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
diff --git a/htdocs/compta/localtax/fiche.php b/htdocs/compta/localtax/fiche.php
index 4f9184d2b1a..aa27f201a26 100644
--- a/htdocs/compta/localtax/fiche.php
+++ b/htdocs/compta/localtax/fiche.php
@@ -21,7 +21,7 @@
* \brief Page of IRPF payments
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/localtax/class/localtax.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/compta/localtax/index.php b/htdocs/compta/localtax/index.php
index c21d07fc69c..0e200544a30 100644
--- a/htdocs/compta/localtax/index.php
+++ b/htdocs/compta/localtax/index.php
@@ -20,7 +20,7 @@
* \ingroup tax
* \brief Index page of IRPF reports
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/tax.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
diff --git a/htdocs/compta/localtax/reglement.php b/htdocs/compta/localtax/reglement.php
index dfd739ad8e3..6d4bf4de6dc 100644
--- a/htdocs/compta/localtax/reglement.php
+++ b/htdocs/compta/localtax/reglement.php
@@ -21,7 +21,7 @@
* \brief List of IRPF payments
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/localtax/class/localtax.class.php';
$langs->load("compta");
diff --git a/htdocs/compta/paiement.php b/htdocs/compta/paiement.php
index a155bab4722..d6b9f3d9331 100644
--- a/htdocs/compta/paiement.php
+++ b/htdocs/compta/paiement.php
@@ -25,7 +25,7 @@
* \brief Page to create a payment
*/
-require('../main.inc.php');
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/compta/paiement/avalider.php b/htdocs/compta/paiement/avalider.php
index 7cfe2104b45..1cfef2ad7a8 100644
--- a/htdocs/compta/paiement/avalider.php
+++ b/htdocs/compta/paiement/avalider.php
@@ -22,7 +22,7 @@
* \brief Page liste des paiements a valider des factures clients
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
$langs->load("bills");
diff --git a/htdocs/compta/paiement/cheque/fiche.php b/htdocs/compta/paiement/cheque/fiche.php
index 6830a130972..732b8aafc06 100644
--- a/htdocs/compta/paiement/cheque/fiche.php
+++ b/htdocs/compta/paiement/cheque/fiche.php
@@ -24,7 +24,7 @@
* \brief Page for cheque deposits
*/
-require("./pre.inc.php"); // We use pre.inc.php to have a dynamic menu
+require './pre.inc.php'; // We use pre.inc.php to have a dynamic menu
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/cheque/class/remisecheque.class.php';
diff --git a/htdocs/compta/paiement/cheque/index.php b/htdocs/compta/paiement/cheque/index.php
index 882b0a5b300..e271e801650 100644
--- a/htdocs/compta/paiement/cheque/index.php
+++ b/htdocs/compta/paiement/cheque/index.php
@@ -23,7 +23,7 @@
* \brief Home page for cheque receipts
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/cheque/class/remisecheque.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/compta/paiement/cheque/liste.php b/htdocs/compta/paiement/cheque/liste.php
index 1a97b7d0938..318a1b17be1 100644
--- a/htdocs/compta/paiement/cheque/liste.php
+++ b/htdocs/compta/paiement/cheque/liste.php
@@ -23,7 +23,7 @@
* \brief Page liste des bordereau de remise de cheque
*/
-require("./pre.inc.php");
+require './pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/cheque/class/remisecheque.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/compta/paiement/fiche.php b/htdocs/compta/paiement/fiche.php
index e8a8a3b0b18..535e3a013da 100644
--- a/htdocs/compta/paiement/fiche.php
+++ b/htdocs/compta/paiement/fiche.php
@@ -25,7 +25,7 @@
* \remarks Nearly same file than fournisseur/paiement/fiche.php
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT .'/core/modules/facture/modules_facture.php';
diff --git a/htdocs/compta/paiement/index.php b/htdocs/compta/paiement/index.php
index d7eebe8dd83..2f2f32bcbc2 100644
--- a/htdocs/compta/paiement/index.php
+++ b/htdocs/compta/paiement/index.php
@@ -16,7 +16,7 @@
*
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
// Security check
if (!$user->admin && $user->societe_id > 0)
diff --git a/htdocs/compta/paiement/info.php b/htdocs/compta/paiement/info.php
index b2b6ca304ac..79bd009f056 100644
--- a/htdocs/compta/paiement/info.php
+++ b/htdocs/compta/paiement/info.php
@@ -22,7 +22,7 @@
* \brief Onglet info d'un paiement
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
diff --git a/htdocs/compta/paiement/liste.php b/htdocs/compta/paiement/liste.php
index fc401bd8c85..714d8a20d59 100644
--- a/htdocs/compta/paiement/liste.php
+++ b/htdocs/compta/paiement/liste.php
@@ -23,7 +23,7 @@
* \brief Page liste des paiements des factures clients
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/compta/paiement/rapport.php b/htdocs/compta/paiement/rapport.php
index c8a953a5176..f9e6f61852f 100644
--- a/htdocs/compta/paiement/rapport.php
+++ b/htdocs/compta/paiement/rapport.php
@@ -22,7 +22,7 @@
* \brief Payment reports page
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/modules/rapport/pdf_paiement.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
diff --git a/htdocs/compta/paiement_charge.php b/htdocs/compta/paiement_charge.php
index 2af75cdecdf..d10f051fba3 100755
--- a/htdocs/compta/paiement_charge.php
+++ b/htdocs/compta/paiement_charge.php
@@ -21,7 +21,7 @@
* \brief Page to add payment of a tax
*/
-require('../main.inc.php');
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/paymentsocialcontribution.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/compta/payment_sc/fiche.php b/htdocs/compta/payment_sc/fiche.php
index f7acb55fee1..01b5fe1bf01 100644
--- a/htdocs/compta/payment_sc/fiche.php
+++ b/htdocs/compta/payment_sc/fiche.php
@@ -25,7 +25,7 @@
* \remarks Fichier presque identique a fournisseur/paiement/fiche.php
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/paymentsocialcontribution.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
diff --git a/htdocs/compta/prelevement/bon.php b/htdocs/compta/prelevement/bon.php
index a73f676667e..28836a60943 100644
--- a/htdocs/compta/prelevement/bon.php
+++ b/htdocs/compta/prelevement/bon.php
@@ -23,7 +23,7 @@
* \brief Fiche apercu du bon de prelevement
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/prelevement.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
diff --git a/htdocs/compta/prelevement/bons.php b/htdocs/compta/prelevement/bons.php
index f11e12a243e..7639cef4535 100644
--- a/htdocs/compta/prelevement/bons.php
+++ b/htdocs/compta/prelevement/bons.php
@@ -24,7 +24,7 @@
* \brief Page liste des bons de prelevements
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
$langs->load("widthdrawals");
diff --git a/htdocs/compta/prelevement/create.php b/htdocs/compta/prelevement/create.php
index c33d15cc577..20f388c7d1d 100644
--- a/htdocs/compta/prelevement/create.php
+++ b/htdocs/compta/prelevement/create.php
@@ -24,7 +24,7 @@
* \brief Prelevement creation page
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
diff --git a/htdocs/compta/prelevement/demandes.php b/htdocs/compta/prelevement/demandes.php
index 4fa3311e4f4..d6f94d15861 100644
--- a/htdocs/compta/prelevement/demandes.php
+++ b/htdocs/compta/prelevement/demandes.php
@@ -24,7 +24,7 @@
* \brief Page to list withdraw requests
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/modules/modPrelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
diff --git a/htdocs/compta/prelevement/factures.php b/htdocs/compta/prelevement/factures.php
index 37e7109090a..39f004e06de 100644
--- a/htdocs/compta/prelevement/factures.php
+++ b/htdocs/compta/prelevement/factures.php
@@ -24,7 +24,7 @@
* \brief Page liste des factures prelevees
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/prelevement.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/rejetprelevement.class.php';
diff --git a/htdocs/compta/prelevement/facturesrejets.php b/htdocs/compta/prelevement/facturesrejets.php
index aadcc74adcc..105d566f93e 100644
--- a/htdocs/compta/prelevement/facturesrejets.php
+++ b/htdocs/compta/prelevement/facturesrejets.php
@@ -23,7 +23,7 @@
* \brief Invoice reject
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/rejetprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
diff --git a/htdocs/compta/prelevement/fiche-rejet.php b/htdocs/compta/prelevement/fiche-rejet.php
index 1959ed96d8b..a7bccc6668a 100644
--- a/htdocs/compta/prelevement/fiche-rejet.php
+++ b/htdocs/compta/prelevement/fiche-rejet.php
@@ -24,7 +24,7 @@
* \brief Withdraw reject
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/prelevement.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/rejetprelevement.class.php';
diff --git a/htdocs/compta/prelevement/fiche-stat.php b/htdocs/compta/prelevement/fiche-stat.php
index 5db1efb6167..81f6ec188ff 100644
--- a/htdocs/compta/prelevement/fiche-stat.php
+++ b/htdocs/compta/prelevement/fiche-stat.php
@@ -23,7 +23,7 @@
* \brief Prelevement statistics
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/prelevement.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/ligneprelevement.class.php';
diff --git a/htdocs/compta/prelevement/fiche.php b/htdocs/compta/prelevement/fiche.php
index a5c6794d6f7..c4ed053aa8b 100644
--- a/htdocs/compta/prelevement/fiche.php
+++ b/htdocs/compta/prelevement/fiche.php
@@ -23,7 +23,7 @@
* \brief Fiche prelevement
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/prelevement.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
diff --git a/htdocs/compta/prelevement/index.php b/htdocs/compta/prelevement/index.php
index 5d420ac4894..8dba0b37cae 100644
--- a/htdocs/compta/prelevement/index.php
+++ b/htdocs/compta/prelevement/index.php
@@ -24,7 +24,7 @@
* \brief Prelevement index page
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
diff --git a/htdocs/compta/prelevement/ligne.php b/htdocs/compta/prelevement/ligne.php
index 5f8e74fdfdc..3f8858d8ab8 100644
--- a/htdocs/compta/prelevement/ligne.php
+++ b/htdocs/compta/prelevement/ligne.php
@@ -24,7 +24,7 @@
* \brief card of withdraw line
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/ligneprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/rejetprelevement.class.php';
diff --git a/htdocs/compta/prelevement/lignes.php b/htdocs/compta/prelevement/lignes.php
index c7b1f3c559b..ba5c1701288 100644
--- a/htdocs/compta/prelevement/lignes.php
+++ b/htdocs/compta/prelevement/lignes.php
@@ -24,7 +24,7 @@
* \brief Prelevement lines
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/prelevement.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/ligneprelevement.class.php';
diff --git a/htdocs/compta/prelevement/liste.php b/htdocs/compta/prelevement/liste.php
index 2fd88dcfeba..84d7d21b842 100644
--- a/htdocs/compta/prelevement/liste.php
+++ b/htdocs/compta/prelevement/liste.php
@@ -23,7 +23,7 @@
* \ingroup prelevement
* \brief Page liste des prelevements
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/bonprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/ligneprelevement.class.php';
diff --git a/htdocs/compta/prelevement/rejets.php b/htdocs/compta/prelevement/rejets.php
index 2e777b8d030..cdb8c60e58e 100644
--- a/htdocs/compta/prelevement/rejets.php
+++ b/htdocs/compta/prelevement/rejets.php
@@ -24,7 +24,7 @@
* \brief Reject page
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/rejetprelevement.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php';
diff --git a/htdocs/compta/prelevement/stats.php b/htdocs/compta/prelevement/stats.php
index 5e73bf340a4..b39df8c1341 100644
--- a/htdocs/compta/prelevement/stats.php
+++ b/htdocs/compta/prelevement/stats.php
@@ -24,7 +24,7 @@
* \brief Page de stats des prelevements
*/
-require("../bank/pre.inc.php");
+require '../bank/pre.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/prelevement/class/ligneprelevement.class.php';
$langs->load("withdrawals");
diff --git a/htdocs/compta/recap-compta.php b/htdocs/compta/recap-compta.php
index 9a7bce53aa6..c458f55813d 100644
--- a/htdocs/compta/recap-compta.php
+++ b/htdocs/compta/recap-compta.php
@@ -22,7 +22,7 @@
* \brief Page de fiche recap compta
*/
-require('../main.inc.php');
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
diff --git a/htdocs/compta/resultat/bilan.php b/htdocs/compta/resultat/bilan.php
index 8c33f488a92..fb8526d077c 100644
--- a/htdocs/compta/resultat/bilan.php
+++ b/htdocs/compta/resultat/bilan.php
@@ -21,7 +21,7 @@
* \brief Fichier page bilan compta
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
diff --git a/htdocs/compta/resultat/clientfourn.php b/htdocs/compta/resultat/clientfourn.php
index a215ae7b7ff..bc23e2c3c73 100644
--- a/htdocs/compta/resultat/clientfourn.php
+++ b/htdocs/compta/resultat/clientfourn.php
@@ -22,7 +22,7 @@
* \brief Page reporting
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/report.lib.php';
diff --git a/htdocs/compta/resultat/compteres.php b/htdocs/compta/resultat/compteres.php
index 9463df6d80d..0e9a8db8595 100644
--- a/htdocs/compta/resultat/compteres.php
+++ b/htdocs/compta/resultat/compteres.php
@@ -16,7 +16,7 @@
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
diff --git a/htdocs/compta/resultat/index.php b/htdocs/compta/resultat/index.php
index efcba0ae51a..e423136b7ee 100644
--- a/htdocs/compta/resultat/index.php
+++ b/htdocs/compta/resultat/index.php
@@ -22,7 +22,7 @@
* \brief Page reporting resultat
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/report.lib.php';
diff --git a/htdocs/compta/sociales/charges.php b/htdocs/compta/sociales/charges.php
index 436ce96b418..4dc224c73b2 100644
--- a/htdocs/compta/sociales/charges.php
+++ b/htdocs/compta/sociales/charges.php
@@ -22,7 +22,7 @@
* \brief Social contribution car page
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formsocialcontrib.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/tax.lib.php';
diff --git a/htdocs/compta/sociales/document.php b/htdocs/compta/sociales/document.php
index b8ad2a49080..128ff9b8c86 100644
--- a/htdocs/compta/sociales/document.php
+++ b/htdocs/compta/sociales/document.php
@@ -26,7 +26,7 @@
* \brief Page with attached files on social contributions
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
diff --git a/htdocs/compta/sociales/index.php b/htdocs/compta/sociales/index.php
index e862b5970de..ec0441fba2f 100644
--- a/htdocs/compta/sociales/index.php
+++ b/htdocs/compta/sociales/index.php
@@ -23,7 +23,7 @@
* \brief Page to list all social contributions
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formsocialcontrib.class.php';
diff --git a/htdocs/compta/sociales/info.php b/htdocs/compta/sociales/info.php
index 0376d7cf5df..08a14a16687 100644
--- a/htdocs/compta/sociales/info.php
+++ b/htdocs/compta/sociales/info.php
@@ -21,7 +21,7 @@
* \brief Page with info about social contribution
*/
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/sociales/class/chargesociales.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/tax.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
diff --git a/htdocs/compta/stats/cabyuser.php b/htdocs/compta/stats/cabyuser.php
index 4c56403184a..31a86e475df 100644
--- a/htdocs/compta/stats/cabyuser.php
+++ b/htdocs/compta/stats/cabyuser.php
@@ -22,7 +22,7 @@
* \brief Page reporting Salesover by user
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/report.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/tax.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
diff --git a/htdocs/compta/stats/casoc.php b/htdocs/compta/stats/casoc.php
index 6f8171a8bb0..3bf19f18942 100644
--- a/htdocs/compta/stats/casoc.php
+++ b/htdocs/compta/stats/casoc.php
@@ -23,7 +23,7 @@
* \brief Page reporting CA par societe
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/report.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/tax.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
diff --git a/htdocs/compta/stats/index.php b/htdocs/compta/stats/index.php
index bdd957d1f2d..12b878fc4be 100644
--- a/htdocs/compta/stats/index.php
+++ b/htdocs/compta/stats/index.php
@@ -22,7 +22,7 @@
* \brief Page reporting CA
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/report.lib.php';
diff --git a/htdocs/compta/tva/clients.php b/htdocs/compta/tva/clients.php
index 23af370180c..71dbdb6c947 100644
--- a/htdocs/compta/tva/clients.php
+++ b/htdocs/compta/tva/clients.php
@@ -24,7 +24,7 @@
* \brief Page des societes
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/report.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/tax.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
diff --git a/htdocs/compta/tva/fiche.php b/htdocs/compta/tva/fiche.php
index 63dea4f7b61..a73584903bf 100644
--- a/htdocs/compta/tva/fiche.php
+++ b/htdocs/compta/tva/fiche.php
@@ -23,7 +23,7 @@
* \brief Page of VAT payments
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/compta/tva/index.php b/htdocs/compta/tva/index.php
index 31676c3518b..e6ea960fa98 100644
--- a/htdocs/compta/tva/index.php
+++ b/htdocs/compta/tva/index.php
@@ -23,7 +23,7 @@
* \ingroup tax
* \brief Index page of VAT reports
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/tax.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
diff --git a/htdocs/compta/tva/quadri.php b/htdocs/compta/tva/quadri.php
index dc0c188418b..5ac598d7a66 100644
--- a/htdocs/compta/tva/quadri.php
+++ b/htdocs/compta/tva/quadri.php
@@ -26,7 +26,7 @@
* TODO Deal with recurrent invoices as well
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
$year=$_GET["year"];
diff --git a/htdocs/compta/tva/quadri_detail.php b/htdocs/compta/tva/quadri_detail.php
index d75b7fec26b..1bcd7cabb47 100644
--- a/htdocs/compta/tva/quadri_detail.php
+++ b/htdocs/compta/tva/quadri_detail.php
@@ -25,7 +25,7 @@
* TODO Deal with recurrent invoices as well
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/report.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/tax.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
diff --git a/htdocs/compta/tva/reglement.php b/htdocs/compta/tva/reglement.php
index e25fd319c01..dec625e95a8 100644
--- a/htdocs/compta/tva/reglement.php
+++ b/htdocs/compta/tva/reglement.php
@@ -23,7 +23,7 @@
* \brief List of VAT payments
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/tva/class/tva.class.php';
$langs->load("compta");
diff --git a/htdocs/compta/ventilation/fiche.php b/htdocs/compta/ventilation/fiche.php
index c3467a43381..6d18e2cdba7 100644
--- a/htdocs/compta/ventilation/fiche.php
+++ b/htdocs/compta/ventilation/fiche.php
@@ -23,7 +23,7 @@
* \brief Page fiche ventilation
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
$langs->load("bills");
diff --git a/htdocs/compta/ventilation/fournisseur/fiche.php b/htdocs/compta/ventilation/fournisseur/fiche.php
index 2766a7c0eac..9cce69f1717 100644
--- a/htdocs/compta/ventilation/fournisseur/fiche.php
+++ b/htdocs/compta/ventilation/fournisseur/fiche.php
@@ -23,7 +23,7 @@
* \brief Page fiche ventilation
*/
-require('../../../main.inc.php');
+require '../../../main.inc.php';
$mesg = '';
diff --git a/htdocs/compta/ventilation/fournisseur/index.php b/htdocs/compta/ventilation/fournisseur/index.php
index a019ff63666..d24b2275732 100644
--- a/htdocs/compta/ventilation/fournisseur/index.php
+++ b/htdocs/compta/ventilation/fournisseur/index.php
@@ -24,7 +24,7 @@
* \brief Page accueil ventilation
*/
-require('../../../main.inc.php');
+require '../../../main.inc.php';
$langs->load("suppliers");
diff --git a/htdocs/compta/ventilation/fournisseur/lignes.php b/htdocs/compta/ventilation/fournisseur/lignes.php
index 6418f616354..2e10e8cd189 100644
--- a/htdocs/compta/ventilation/fournisseur/lignes.php
+++ b/htdocs/compta/ventilation/fournisseur/lignes.php
@@ -22,7 +22,7 @@
* \brief Page de detail des lignes de ventilation d'une facture
*/
-require('../../../main.inc.php');
+require '../../../main.inc.php';
$langs->load("bills");
diff --git a/htdocs/compta/ventilation/fournisseur/liste.php b/htdocs/compta/ventilation/fournisseur/liste.php
index 9c763d258cc..183baab771f 100644
--- a/htdocs/compta/ventilation/fournisseur/liste.php
+++ b/htdocs/compta/ventilation/fournisseur/liste.php
@@ -25,7 +25,7 @@
* \brief Page de ventilation des lignes de facture
*/
-require('../../../main.inc.php');
+require '../../../main.inc.php';
$langs->load("bills");
diff --git a/htdocs/compta/ventilation/index.php b/htdocs/compta/ventilation/index.php
index 184231e8ec7..4e703ea650f 100644
--- a/htdocs/compta/ventilation/index.php
+++ b/htdocs/compta/ventilation/index.php
@@ -23,7 +23,7 @@
* \brief Page accueil ventilation
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
$langs->load("compta");
$langs->load("bills");
diff --git a/htdocs/compta/ventilation/lignes.php b/htdocs/compta/ventilation/lignes.php
index cf769a9592f..60aa986f113 100644
--- a/htdocs/compta/ventilation/lignes.php
+++ b/htdocs/compta/ventilation/lignes.php
@@ -23,7 +23,7 @@
* \brief Page de detail des lignes de ventilation d'une facture
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
diff --git a/htdocs/compta/ventilation/liste.php b/htdocs/compta/ventilation/liste.php
index 19cdf95c6d0..294b1adc6bc 100644
--- a/htdocs/compta/ventilation/liste.php
+++ b/htdocs/compta/ventilation/liste.php
@@ -25,7 +25,7 @@
* \brief Page de ventilation des lignes de facture
*/
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php';
diff --git a/htdocs/contact/exportimport.php b/htdocs/contact/exportimport.php
index 4d157c62e88..e8b55255418 100644
--- a/htdocs/contact/exportimport.php
+++ b/htdocs/contact/exportimport.php
@@ -22,7 +22,7 @@
* \brief Onglet exports-imports d'un contact
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/contact.lib.php';
diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php
index 43ddc3ff83e..6bd01d3ad33 100644
--- a/htdocs/contact/fiche.php
+++ b/htdocs/contact/fiche.php
@@ -25,7 +25,7 @@
* \brief Card of a contact
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/contact.lib.php';
diff --git a/htdocs/contact/info.php b/htdocs/contact/info.php
index 7cf24f58a2d..33be09b9a43 100644
--- a/htdocs/contact/info.php
+++ b/htdocs/contact/info.php
@@ -23,7 +23,7 @@
* \brief Onglet info d'un contact
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/contact.lib.php';
diff --git a/htdocs/contact/ldap.php b/htdocs/contact/ldap.php
index 567747db5dc..ed386d31a8d 100644
--- a/htdocs/contact/ldap.php
+++ b/htdocs/contact/ldap.php
@@ -22,7 +22,7 @@
* \brief Page fiche LDAP contact
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/contact.lib.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/ldap.class.php';
diff --git a/htdocs/contact/list.php b/htdocs/contact/list.php
index 34bd1471f91..ace7abcc6b9 100755
--- a/htdocs/contact/list.php
+++ b/htdocs/contact/list.php
@@ -24,7 +24,7 @@
* \brief Page to list all contacts
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
$langs->load("companies");
diff --git a/htdocs/contact/perso.php b/htdocs/contact/perso.php
index fe182d6e356..f76acf85f24 100644
--- a/htdocs/contact/perso.php
+++ b/htdocs/contact/perso.php
@@ -23,7 +23,7 @@
* \brief Onglet informations personnelles d'un contact
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/contact.lib.php';
diff --git a/htdocs/contact/vcard.php b/htdocs/contact/vcard.php
index 80bae86f25a..20a230be6ba 100644
--- a/htdocs/contact/vcard.php
+++ b/htdocs/contact/vcard.php
@@ -23,7 +23,7 @@
* \brief Onglet vcard d'un contact
*/
-require("../main.inc.php");
+require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/vcard.class.php';
diff --git a/htdocs/core/ajax/bankconciliate.php b/htdocs/core/ajax/bankconciliate.php
index c5de7b4a50b..1d9f373902e 100644
--- a/htdocs/core/ajax/bankconciliate.php
+++ b/htdocs/core/ajax/bankconciliate.php
@@ -27,7 +27,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1'); // Required to knwo date format for dol_print_date
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
require_once DOL_DOCUMENT_ROOT.'/compta/bank/class/account.class.php';
diff --git a/htdocs/core/ajax/box.php b/htdocs/core/ajax/box.php
index 8d6e53c24c7..5497aec426e 100644
--- a/htdocs/core/ajax/box.php
+++ b/htdocs/core/ajax/box.php
@@ -28,7 +28,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1');
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/infobox.class.php';
$boxid=GETPOST('boxid','int');
diff --git a/htdocs/core/ajax/constantonoff.php b/htdocs/core/ajax/constantonoff.php
index 59755b1f632..a79a9f5d0ff 100644
--- a/htdocs/core/ajax/constantonoff.php
+++ b/htdocs/core/ajax/constantonoff.php
@@ -27,7 +27,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1');
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
diff --git a/htdocs/core/ajax/contacts.php b/htdocs/core/ajax/contacts.php
index 025d1dc9dd0..3d71cd791cb 100644
--- a/htdocs/core/ajax/contacts.php
+++ b/htdocs/core/ajax/contacts.php
@@ -27,7 +27,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
//if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1');
-require('../../main.inc.php');
+require '../../main.inc.php';
$id = GETPOST('id','int');
$action = GETPOST('action','alpha');
diff --git a/htdocs/core/ajax/fileupload.php b/htdocs/core/ajax/fileupload.php
index 6b58cad214a..472e50b5574 100644
--- a/htdocs/core/ajax/fileupload.php
+++ b/htdocs/core/ajax/fileupload.php
@@ -33,7 +33,7 @@ if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML','1'); // If we don't nee
//if (! defined("NOLOGIN")) define("NOLOGIN",'1'); // If this page is public (can be called outside logged session)
-require("../../main.inc.php");
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/fileupload.class.php';
error_reporting(E_ALL | E_STRICT);
diff --git a/htdocs/core/ajax/loadinplace.php b/htdocs/core/ajax/loadinplace.php
index f29ead60176..831f3c5dea8 100644
--- a/htdocs/core/ajax/loadinplace.php
+++ b/htdocs/core/ajax/loadinplace.php
@@ -27,7 +27,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1');
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/genericobject.class.php';
$field = GETPOST('field','alpha');
diff --git a/htdocs/core/ajax/row.php b/htdocs/core/ajax/row.php
index faf1575ddbf..69212205832 100644
--- a/htdocs/core/ajax/row.php
+++ b/htdocs/core/ajax/row.php
@@ -27,7 +27,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1');
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/genericobject.class.php';
diff --git a/htdocs/core/ajax/saveinplace.php b/htdocs/core/ajax/saveinplace.php
index c1a34933b7c..8e32fe6551c 100644
--- a/htdocs/core/ajax/saveinplace.php
+++ b/htdocs/core/ajax/saveinplace.php
@@ -27,7 +27,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1');
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/genericobject.class.php';
$field = GETPOST('field','alpha',2);
diff --git a/htdocs/core/ajax/security.php b/htdocs/core/ajax/security.php
index d1dc24e8a99..ec44c8c8c76 100644
--- a/htdocs/core/ajax/security.php
+++ b/htdocs/core/ajax/security.php
@@ -27,7 +27,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1');
-require('../../main.inc.php');
+require '../../main.inc.php';
/*
* View
diff --git a/htdocs/core/ajax/vatrates.php b/htdocs/core/ajax/vatrates.php
index 985cfb9b71b..97ed9e4697c 100644
--- a/htdocs/core/ajax/vatrates.php
+++ b/htdocs/core/ajax/vatrates.php
@@ -27,7 +27,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
//if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
//if (! defined('NOREQUIRETRAN')) define('NOREQUIRETRAN','1');
-require('../../main.inc.php');
+require '../../main.inc.php';
$id = GETPOST('id','int');
$action = GETPOST('action','alpha');
diff --git a/htdocs/core/ajax/ziptown.php b/htdocs/core/ajax/ziptown.php
index 38b7e4c6007..c9dfed825d6 100644
--- a/htdocs/core/ajax/ziptown.php
+++ b/htdocs/core/ajax/ziptown.php
@@ -29,7 +29,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1');
if (! defined('NOCSRFCHECK')) define('NOCSRFCHECK','1');
-require('../../main.inc.php');
+require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
diff --git a/htdocs/core/filemanagerdol/browser/default/browser.php b/htdocs/core/filemanagerdol/browser/default/browser.php
index 5da35174c3a..5ee5ae29aaa 100755
--- a/htdocs/core/filemanagerdol/browser/default/browser.php
+++ b/htdocs/core/filemanagerdol/browser/default/browser.php
@@ -21,7 +21,7 @@
define('NOTOKENRENEWAL',1); // Disables token renewal
-require('../../../../main.inc.php');
+require '../../../../main.inc.php';
?>
diff --git a/htdocs/core/filemanagerdol/browser/default/frmactualfolder.php b/htdocs/core/filemanagerdol/browser/default/frmactualfolder.php
index f22f2cd15a4..7556f2b437d 100755
--- a/htdocs/core/filemanagerdol/browser/default/frmactualfolder.php
+++ b/htdocs/core/filemanagerdol/browser/default/frmactualfolder.php
@@ -21,7 +21,7 @@
define('NOTOKENRENEWAL',1); // Disables token renewal
-require('../../../../main.inc.php');
+require '../../../../main.inc.php';
?>