diff --git a/htdocs/adherents/admin/adherent.php b/htdocs/adherents/admin/adherent.php index 038cc1199246dc2bc93e9ca15b33399cf9a5bb4b..6cea7ce93899598406952fe35dfc0827538ab8b9 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 4d647ae7c34a89e22e421cc8e31797d6bfda4da4..b14042a141e2f8524e34414c657117e228c880ce 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 55d0cefb97c82280023bcebf27241fac2db85b56..ce407584391f71cba373c6f0a31d06fd6d6e3800 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 dd20cd6f342d17d58cebcc86574736e3a4968900..911b1e13f7fba5c91f80516c0344d3f3d2ad95ef 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 c37a63b246a30ed051e1cfd2a939c224cc65ec87..2d571d2c615687c5c53bcbc8e99f0c8886d9a95d 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 613f3e31894fa33747b95396e94cfcde5029f8ac..db8a055e32f7d252aaf7d74359728826e358f4d4 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 bd24d303c9afcd66fcda29275b1130ed82fd907d..99bf68174ae26242de07cdd392e6b2cc9fac769c 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 433f38843c7b48ac932ab9241f45d9a06393135b..276d0d5111630a6e7016dee29b8ba3116645af9b 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 c49f6cc336cdb3870fe2957f59089f9e2ecd6b83..b0a75427697ace62980c9b70988d5e3c161252cc 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 fea4564af41a84201b09d0a63c367bfbc3e64baf..17b653d6a5566b4cc6a18701d0eb152a7c500cd0 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 7d46602e06962b1e036a9a84eb98795792afda91..4abaa9b822e3c36c51223c89c29bfa76a83aa6dd 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 7541523d292886fb52ed08003855adf8b0ce2ff1..b870ed6037aebea64b4c06f1acb08ae3db88543d 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 88239d79bc408e82b72757d79e5c0378dab68efc..607b41040180c55e163947a9233072606b702be7 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 9c50607064cc2e91d5d9f0a0ddef235b641bf9a4..fff160275bb9bb51436cf1b790f6e42b7c51f1db 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 9aeab2c4b4a72e57577b669acfaaf3fc51863096..bfa4f885a6a3839001d95783c6ae2470a40dc9aa 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 471f5bbd0e321263879a82d6baba0dc4409a0803..b900abf6867b43f34c0160532bd334d081ee6aa5 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 2e689a015dcb5f8b37587c34fd9b22db04045f71..a97c729a908dd8542b283eaadc7e4d0ad4ca6509 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 44a97269110b8aa6f30fc0a9600370e8badaa3e5..93549d1c51630e8c24f97f4284737bf1dd91c568 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 c7bd4ffda4b85135225957a155122df6e4a961c6..1870683a02e4505af9fd02161fc88c2a072d426a 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 12d8b68570914a6c3f217661f5bdfa98f08e054f..fc45ac75dd6d2336338fbf39a6d0b3b880f2d7c9 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 d7f1caad32e31f868e7702eb116522dfb2e88e45..9ce039b23750e806797a5755a3fd6d906bc2eb3a 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 2f0fecc28b18fb2c7288cb9a5ae7048dca8b728e..3c5150fa7f51e4eeb47eef1dff8f997b7fe0b695 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 e741bc1e6a912be8b84562b0928db55c1728f021..4928aa2a17224ed4e0874bd7d1c667ebc005f5dd 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 e876f902bcc3a1421dee460a15cd3ccda4ec23e8..c0d9d38962786259de169d019a0cd8c18ec105d3 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 ae7dc13794ca74fa8b4e86d5c026d50348ae5690..41ac8727563804e47288f3b571fdebecd1920c8a 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 378cb1af794d7c3feac8d412eb156143d5ac14dd..5a1ccc3c6dfc846be805e9e063b4dd88c17adb80 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 6df94c52c320c8b203e375f57ab6f1855a26cbe9..c9de48afb9551df36e019f671992936f3e518ef1 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 98c342b321a9e63c56ace274a8ab900dd38e8f16..d454fe4b95abad26cd742560322e867c49c60332 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 a0f96be7ba4c346bea6565c7e67607dc93a7ae57..3cb34186bd66e926308303df9c4d833132287166 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 4165b62c368678038326490daeab91dbbf12b0fc..36c57926c4d0ee6223036c153bbbb995600eee54 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 87fd8f5d11244dca3cc78bf5740f3c2f90d03f95..03309c31c3be57ada748a03fcd185f777c8c698c 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 55096163d7096bf91ad03e12836a436e784a207d..86d87117ac1a3eada8be517982c89814dca9393e 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 e18f0aaf3b0819d77cfb6ca231d09c09c322ee2f..f2cdf0bd22eb1ad77db559c1fd683e1deb2049bd 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 b737d927348690e541cd287634235c1e70a98d5c..a10738939e67ee0e9a3c9cc6eabc2a456c8f1be9 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 dc1789191109cf492a5273c3ce08e5c091263b01..4678accc1ab31e070e85d49999170885bb48e4ee 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 a669d8e5c27d5de600f7f88617f9ba95c9428cbd..fe4edb90e2a527b1f669a3b0c0917022f054258e 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 ff41d6980ec04a35e0bbe717c232b1a16026119c..b6bca0eefebb1ebe9a4d5147825f9707c9918c8d 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 d00630af55c801fe63789e8e327cfdc0d0643dd1..f04e7d897de44cd2379e01d1d1d885cb76dabea6 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 5b13346dce07abd751c7aee20a12b07e07e78cba..b06df9e432e4bd8aff92ed385334538e31ca2253 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 9277729f32ac4709bc11100218ad1165b5c412ce..c7a232425831af1964e0c8e9b2a754ba43bd61b0 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 3f9c1a558172cab14cb3b19ab1b12cc12a341582..da5f2c36a659fb1d07024081537850c2a310c9ae 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 817c160861a0bc11c65fc2d2763e0acfb9a47bd3..6e54456f59e9e69093753a7f8cb9f8ab9a7c6806 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 21e537f1ea641b2188204b38d7352326b2f05ddf..7b978bb5c8da0695cf1dfffef0806fffb4febae2 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 de2970a5f4f8e396bb32813b94741fa3f56f9327..7a800152c6541352e955b3f71e852b2f3c341565 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 cebef1875454f7fdc2e3edc685e663e1c0c8732d..d2f5ef39512e867c7f46f858e666ffa9dd41f643 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 ef41b8801e96d08f3d9935f22d0a61a5246dac53..14a8553959dd0eef04b20902ffc4b2baad120f9f 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 f99db823f36197713268c176298059ab872bbcde..6227aa5fb7280d2c28b4bf7e131fdd8ab4a5472e 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 c7f9e2efa2c3595d9d33d0c0e4a409d9aa929d26..de1a4faab8fbe1c4f5720043c968134caee24af7 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 e7fb7b15dc9b04544b388229a2f2e4b3f8dc0fb9..ba4b76a7e2a6e72e162990f3531be12c3333cb28 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 6ffa7353aecea451efddb5afe491de89afe5efa9..d1dd88c67a1b1fde6c8d21ee7a54d9a0dd3cbb52 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 ba02aeba3e0b86ffc2188ac80bdab86f89671614..141de8a7d31234348b2098c237ec7b34bb01cf2f 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 0d99a8cc40b2c7acf6d033aa5aa1f2616a4e4447..83dcb2c50c461ab5626444de0beebe415ebe8b2f 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 abb068e299efdae5bf4c5ec81ba21bb83053fff1..909364fb00e2eefa0bdf9c9466309ce715068b38 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 38f2dcc0858bf26d0aee34867585bb5c2f4825bc..6fbb135955b2b8943c9d947310697ac44134d331 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 60b4d189ffa135230369d173972711e301fd2f0d..9a23e3f968d2fbfd3875e82d3df22d49117cb4ad 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 6baab61876dd2619a09fca900d753f5bc78e129b..ccded6ec1c74cf984048c03f3b3e0ba08c297a40 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 c5cf25bf26e2be4542d2a00610d578210cedd02c..98b91883366168bf24d3813758caaa4f4f3943fd 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 d3a3ed0942e9459db9a42b5283f42b25992b7ab3..c5b3e3781644a15b69cadfd41c4be99fd5da9938 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 df5b79af7663c9a71ea0f0fc19c774c822883420..1dd106a1204a28ca96c51de65a15a3799645cf68 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 2d7b9d697afcae921a71a87958a315fcbc33f9e3..800f10a15d71ba1ee435121515bfc70a26a2b201 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 5f0a7a5693d07c7132c55147f85071ce7b9d4b57..d9e6a2d8bafeaab5a33a4f176cb312c03da0f68a 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 02c2f91b5a7ac96cb43a61dcab0d53beaf3648e7..fd459051604cfe3e7aba545b198d3bb0abf1b9c8 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 2ae4edc0fa7757e0ac80f19f9bdc67968f8d4fbc..821da019a73ea69640c8b57545ac3ce59056666e 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 b6e9bb5c848f2ad862e60c6dfe9faa703f3b5f78..a391f06b51e3e7ff2cbff7ddf61beedaf18dfffc 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 29ee436449ba04ce3b213a11789926838589cba4..8c9178e895aaef09a29b017d1c174c58fbcdeade 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 0414d3dcfcccc2b4e3a0af2a73e371fc2bfaf357..52482b071587009c87fe051bbe25d63008bc42be 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 cbcbfa9e97a63d057a85d7c7d0f99a0af0199415..fb71396bb6fedd1ea3bf3dce735d3e6c66cde8df 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 616cb29e6636f4bb9d3c71143f57b08e49c5afff..d5da8993efc0437b22c2b987da7eece838c803e2 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 1e8f28bef250af94fbecb6b25d4be9bd85e81e8f..02b57e63cb2d3be05bbe982e7744cd1d2134d606 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 12669b657ee8fcf189aaae133834352323d026ae..3b48bba814587ab91d7d5e106d51c84472028ad4 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 2753e6ab2cbd7fd216b065b18ed5e69c8363a2d1..9acd06e091d4b71c79fce5e5b69e666740f5ade6 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 6940124e7dbe93b8f38a7b543007cd816d6317d7..22f31b3ff6772c1342520815741c9b60ec93048a 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 fd38cd32ca5302dad9e24666e95bd3b26dbc1c94..0406e99d9715a323d211e8afb51c5d37c0eb245e 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 11809d58259cb66544aeca47739bcb48a876c024..deb55ee311c31cfd39e36c19eadd41d1374046f2 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 7265767aef35813efd883346061ad03e81adcfad..44cf3fb67612df28582c3b81a6dc3c3e7797fd45 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 b33b20fd25839e92e44018137b7cd5b92bf36fa1..9f12412bff7eca7b18802a67f7d385f9180a8bc2 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 a7c271798180ad824a412987490d9b002845892e..009156f1a5da32a2fdf2d08bbe2d6b40b6cf679c 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 da6623d72f471f94b7651e08a3dd5ba98a19eed0..a6b8d9fb944672dba33f8208c836c9994d6a754d 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 7dfd6b9f2c8c14a7bd95896b3bde9cf6c11b0f06..c01aa0ee07ccafee7b6060c8cdfd57c7c3233db0 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 5bfd44b14acd0aa22429930b34accaa05b67551e..e1db5b57d9c30764bf0db8aeed398a95a6bb386a 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 bc6cc57405eadee2d02a9b986e95a98389c1bcb7..7f4bba4729e98223145d228e7ba90bd077b5c207 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 2ba5acbbd8375229844b1fe659db76b3e7944cdb..95828249c00d9b112f95b055188b1c8520454088 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 49d7698b4966b84a68e97346952659c479370701..afe4bd9f2b75f853e81e453fafefa74965e2131c 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 5e12d40a598a217b1d4684076d21c65208266995..2802818b0389336dadf8d1948e55241393cee152 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 5659b5769f7aee5e67b69ebea1710ce96c83a967..be2f6151e64200d9bf5cc0278f3c5d55eaf8b27b 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 01ab2a200e36ac64e27dcdf49550a368b2d5dc5b..db4630535de00b8a0af638b53c4fc651ac716573 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 2005b589998b3e7c07f8f50f91c48ed4c94c6a54..fe8ee87a8e46875c17ac8196cb4b0fe03590533d 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 8fd23b96af0026b24a271046f265ed6b3bab35a6..f2e78363016678f4936fc90e3db33e249c377129 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 3b829d33ec86c6341bb02a2a4796a4ec08168efb..a9f7e6df158ec6ccfeac6cdac711dd9f584aedb9 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 5df354a86e420d94aac0ba4fc76ce39abac315a8..73b69c505052cb7bc63ed57c9043abab28d93115 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 b4d58db5e4abc777d75856cbb660431a2fd8b465..18dc96e652c6b799c98500efa0af61c3724c0dee 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 cd2119ca4c85916d5c5597f35e370b940bb69286..9ff98757a36bfcfe3b69a68ba303be6ee7f092c2 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 421e677b3d7818d86516163e731355dba8b4c16d..52838109c4f4914c56cb873ca38ead7201da40ce 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 37cbbdb21335ceb3757dd49f85befbfd619e182c..55b9f5302cd901a394b8200bf0dbb76947ed903c 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 c6d6e6a0aa428a53d7cd79000830287bac56d37e..dfbd00d949e284b94f9eca1972b8db05e5ad969d 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 38f79af91111a86bf5de012220b363ca6a12bd8e..9f44aa42400d676dd370de4542d8b88b0e683e03 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 b08a07bcd35263ab43c9a32994a47a0d64748117..0233073b7c7800de191741cefeb3ce127833887d 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 5c0144f7bb1c97f68d3ca659d34258174ea8715c..c4d9c721f6e867fdb7027be252e0fc24ea1022c2 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 567dcfc83237b5f0099c289510a7da8087cb2726..04c5fb12d6cadcf938e292cc593ebf31405425c8 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 24dcac475d12a1196f19ef5f6ab1910139762f22..a62d6b808cbff6d835ee0416ddbf94030cd4c757 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 489e24d1e6e9b2c10684dd6c712dad7d65ae7e85..a9c42e0bdd65c361bbdf0be3f844bc1e7122c242 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 0bdaf27b70d429c49dc01d149088c3da54acaf1b..8b002bd1409fa9bfe25fbb9439b46ad8a0f4a72f 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 bb2b5137ae99f3db2da6708471cfd8986fa99cd7..adf85c8e33ba9c9f45338c15d86dfddd2dd4bb11 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 8c19f53cf82a4ad35b76d297f4d9cb0e9bfefcda..a560abb35b79b465b057cc25ca5be71093b058c3 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 dbcc1e998ddfe305f482cadc818a85dc7e7ac6c1..17263261056ea774fad38fce04757da844147ca0 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 c95a45d05820b9bc87ad5a847a33714a0bc2acd2..8e3d0ea9e921d733e81704901b778158bfb05ba7 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 d6c0c5f0e6f4ffd9ecf9b31bfe108947ec08bf8f..d08f03ee99327432f9c1ca395dea61d8a0298839 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 8dde5dbbf207eabbf6f16eee8015ff089904d8c4..6da095e5ce1ff592426f952ad4b43799b313c8a9 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 9199a60cce21521b6c6ddcdde1453a246e8b45df..cc509c2760fe32bebeb60e44b993aeea4456a5f5 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 5c73a2fac6d8942f49017ade09ab6ba8d044b8a3..9c70d97876b0023751d51ce9264f86d1bba458b2 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 4427b9a628f7b54cec9777231fede918a2057475..aa58deac4fc687d10e4e2f6ef8b68020e60b1bdb 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 9d6d29fcb1c872f4fa9d199a2349f9a3c62312e7..0bf180ae2210daf6cc3d67751160903862d75da3 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 11fb678d83a6a6c082438746b14fb191b3873791..b06233575bc10f1a87b4138dd00f0fd8ee6f117d 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 2a4fbd5a56a892f6709f139c271e2645588b1c52..4b652c3ce556ca81da76c07d6bdd401bd972691b 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 d50b91db305ad43bc681acdaa207c10cc4607396..66db48a4aabf99ee822662b19bb78a1ef2f6d41a 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 c91ca05d5cc9fe6188a1f4ff4b27193b2df597a2..09938bb5d35faec017f04b1a8be73e7b2571f977 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 27b83cb7de18817423ebad7201c5412fd4909cfc..3f53913bc8851dad904c039a5a2ad3721cac5339 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 2f1f8108496e31434ab775909a8f02749ab21dc5..cfdf6fe9b8322651dffd4182a1219369bd4af629 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 53bb4508d145860933797148ff687a961169cad1..da5d7ac80c05f20d6d75b8e7ab835f3c2e936e87 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 f8d32b486cd527aaf92abfd781e9a5e7a04d2b74..c90356dfb5841f4bad4575d1141d01051db69ac8 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 470887dde098632818c216ea32833639cb3838b5..dd06226aaac47ee389442b2cfe5e7e98af7a50f3 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 88183d13eeae5ee6e95dd389cc7eb7c96f02b82c..ddc72aa795a4a78713dc9cc8053d7b2fb9556c56 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 3954fd380ae26111a0c08a0bcde889a69cf796aa..0b5e0b2b2f910b50bbe86516d392ea0ff80f0b20 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 aacee61db6e2a552685736d7b7020427efad75cb..d327b2af07c20fe16cc8778b9ff3ee3c9f5cb9a6 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 185e570a084c2a296e8f2107343c2142e2e58599..86be5906cc405222969b0ff0a78e6348fdfc37b4 100644 --- a/htdocs/cashdesk/facturation_verif.php +++ b/htdocs/cashdesk/facturation_verif.php @@ -16,7 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -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 f9ce2c0be7af6fad14a7f71b563c5a353a83059a..32473e765fcc134221aaa3499579a462aa5175ba 100644 --- a/htdocs/cashdesk/validation_ticket.php +++ b/htdocs/cashdesk/validation_ticket.php @@ -15,7 +15,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -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 4e73271a9bb0274ba8bd7ac702cef6fcc18c96b1..fcd8eda6873bf8fe13cba78756515ebeb41ea3b4 100644 --- a/htdocs/cashdesk/validation_verif.php +++ b/htdocs/cashdesk/validation_verif.php @@ -17,7 +17,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -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 c68666d4b8cc9a980a9f78f26a5cc13e3adbec7c..48832c0eb86550818de21b94d8fac0ba6a578270 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 7e6ed1c3b0dd8093159fa455480919d0584ce00f..cec7444503ee12409dd154904df4302e75c12251 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 2a6a1d01e8468ec3d6af903cc8108fd95bbdf993..987ad62e7bf255f138d4aee7c088f7f52930723b 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 d684f58320f7dddd6bb143ca3ce0f11dbcb289f9..fcde9d3361f31ac3751435b910e1f8e2441333d7 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 662ecfdee82461f687f84acf25eda55b915c4568..cc642df17e5fcbcc952a1ae67bf220b0bcb46a19 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 9498181ffac558b80d24699ff6c04b8f4a8782c5..36bd186c627f25ba1371379285723f74099c5e6e 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 72504f9c19eeab564864fb0fd68dbfdec4aed506..8f5a3d1dd3f82c778d11b96dc5b286431834bf76 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 ffed510ff7bad52ce3858ef3694c66baf61e204e..bde511d28ff5b48c628f41d1dbeeee581d5eabc0 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 f0d64cb33e4cee36a116c41ae83667cfe448a2f3..632f6f0cfa9dbea0632aa3909278c4de7213961a 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 c35c14e05a239d0d16b103268ca9ec4f2e823759..70f300028528fa7283e963c8a1db8c7d405cb952 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 32973386be7c6ea38b983aa7207d1884bcf064d1..09f92d6ef625bf28b4bec322e16ddb391e4ac784 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 ef2d524a118c767e5abbb436d73791391a340339..1b429736f088c0b570c16a22189bdd8c5bad095a 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 ac7c2d1ec50774bbe9b75d10d4395496628241f9..e1154d435a1f3043c29ef5bb1389a6052201bdb9 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 b2d06c4e1f7d46958785aedc1d9f2f6706d0d2f6..fa62f75163244446bdf87f2c7751a7a2597060ab 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 af659bd460adc9ca2d72198533b6fefded18a970..6c36bb917746053c2fd5057f0085dbdd5a2fff47 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 3d3acc182cfaf7dec2b5fc32571ff0f47926a1bf..8e581f0cb51b8c3477b2a3b84976baa013af0738 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 4e74ec1c293af0a5ad01c39c48b542ca16f8381e..d1e29fe5a40b129950c12caa2e95c6ca4e74327a 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 0e2981e36d4f4713f0fa7b1b7411c7ecfa67d16d..04b7976957922129d52b6cc3ca251ae3f2158580 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 305b7513a288856ae280fe348b4555b87f6a9524..0a76606695e1ea102e8ed70b280fda735def6898 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 8437ac4e0dbdde4a9929516fe44b8663d675337d..f7da122ad492baa69ed62c064685764d2059c325 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 3129b2ac0ae30382bab3d940a8c0e77eb0c13e66..ca691d65753fab17744b93c6104ab4838c3a44b4 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 b81e7a7503889f53d6f4e31177eeabf22d927e56..45a136437766700bce92925fcd06b0fbfe26363c 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 5f4d63baf7062de82e6b9330748409ab96d4b0cb..15c823aba57124ebd5130ddcd06cd3909f2e1110 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 f96de7dfee9a8ef7fc14dc1d29b5022b62279087..34e987fe032a1820aedeb4b7f4c5a37f2a5716d5 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 bcd6f3987c6ed96bcb00373e412f740b933f74fb..d9f2cdc125696e273b63d95ef2947b8360904ccd 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 dd394c4f49c5fc25fd4c3a0b6243c064b13827e3..2dd6bf6dc383f4042acea1479d8a42c288ba9f62 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 84a556c489a80e263560865dfd8aef2d607f49b6..a26164ebfdc70dcd46aa5ec071c9203f94fba463 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 afc2f77b04c36105cee0da819ea678d56213017c..5b4fc238342a44566d26fbf2d48849daf895c567 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 2a8e4d5715a18d77f11abbabcfdae7f812a996d4..6264810c37dea4cf6763768b88e4ed761e5bbe52 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 4ae9fcf15cbf8a0196e65e8b280a6fabdd50a657..f0b78a818884b38bf10c06dc2320ebc7bdb660ba 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 6257d6a0811d8d6676656e7f00a04c1a34a510b5..a6c97c67babdb67bb0cff65f696277ea2c27c45d 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 36e905fe2eaf9ec427d40d24f5caf7715b8b8497..46fa8dd652bce44a4f8e794c47010dda95dc520f 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 5ce0b8130f08dc8353d0ead934ca13665b04ad2c..a8bb8278e3abacc6aa941ffdcaa39afcb98e26ba 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 aa370677663a88d44fca52e3389e29b34805f3ed..fec1a0d193e353999f8af3bef3d4ddddbbefbd59 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 56c0f950e7673f17fe096bf1dadbcf81055b91ec..dc4d24d5dd105a19a267f19c350746189fbac5fd 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 cdfc17039cf7cfad0deda7715cf5c10c3d2e8ff2..4c598a5871f1493e74a1b8dddabd9d83e97e4e2f 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 ff0a6c693237df6ada6ea2f9c4bcac2484edc1ff..7dff9bcc60ee115e89fbf148210636381ba92fbb 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 f8732ff36f558a8654c72ee815ab5e101cbc4264..3640cee627905bb4c4fdfca193684c1d0a83afca 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 cdd86eb553c1c21a59a9b4a105e228c6d797d1ab..fe240ac2266f5fe2fcaf45d628583dcdd7373d4c 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 184961f20916af6a0b67c107dd997c2b3b91c604..c23481ed1bda32dc11bc8865a0fe97d49571c50f 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 40cf0bbd089d9a8d9412270253d0d80d45b5d6c0..db7b7b71f561f97b299ae4b98868e6582463323b 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 335b7a1a75680d5aa1d8ac9231c06432f16f7141..83822aa24078e3e1645e50a4ff6a9f0ebec30d1f 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 9848c15449b00c391d3ef41fb2ed74df87d53bdb..3516e8b0833232afb3c026dea64f412858c25218 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 304f3cfb0a22986286889f89ca9691aa00ecf687..d607879c5c03cde737c29d09bb4acb4135047892 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 5fe70cefbbb794eb848f0a01512c52eb15e1c0cb..aa6ff9914f73786d22af6b4f598e0e2085c77592 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 690cc98a3fd259cd904138508ade42cb0eccb846..235b5680c25d41b4b4c8c5a0a4e70cc2b4b43ceb 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 450415624c4116e6cc583b7356dfbf27e3ec715e..a6000d2a44e9dc027799219ef7bd0a00ae2b7b66 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 ff1c37211819913c7de71ecb0933478f90125cd3..bd31c21b3377930f42883602444ea7eecd58a67b 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 600c170292745333af6e896d4e00dfadb64f43b4..08c68939903af033d006dd7b9a9c839a065cf345 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 4eabe72397f17e011bf1b8331e16e40531f6e149..9ecc195d794e7e09ec78cda6b10e13f1db69496d 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 624e3f2d21e3b2ec03d8aee1b23e6fc8ce3e9963..83f31fe7598246021e31c28cb0ec65ba0e9ee176 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 91b7fd30e5e55cfbaddf4cc03449e6d2d482faa1..a92dd6cb2f3753c140f15608d10870f07b69dd0b 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 27ac8c1a65a9ad0c3ad85977a464006c00805c05..c2ec0e4ef88ddfd47cf134767a62bb4116dd31db 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 d1dce30d06929d4b8c62d8e947c0bdcd830a1868..e9ceafdaf52115a6a84b7a30a53941d8f904a639 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 4dbfbeece88cb299677860646a8ca01be50d4c48..61b292604405fbb6066ccec99771045c43331847 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 2a73ac6ec4e0f1148c3ecdf7f7e72179655e88ab..99ac5b91834958a66846edb0425b74ae76194444 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 feebeef5f34f9428de3296175d01bb780d779a57..6f4d0add0b5b4f49dffcc1af90a132fe4ed9f9a5 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 ebb616010492cbd9a6d5704733695712f2e27fd3..96b7a985919bf49d22bc56abfa480d9c4eba7ad0 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 d12b2560f97336452de0468a19be68ee4fee2fca..1b1a64d96a30ebeae91accdfdc2cdf5230ee55bd 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 4b540a51b2b27656bea2680bd66c0f3745ba500d..93a4738c87b553805303666537b8f93ed35b967e 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 be5365ccfef66dc37c11da7c44b51fb62957008e..a59d97084f5f46f2d13377950138551db2ac9940 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 709d7fbf64c3957c38beb74e93f84030bbda2888..1bb97a2ba90d16323489228106a7f3f88147d569 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 188439d3773f11e422fd66bc4f9c591c8ca16117..6bf5de88afe4ba97e00fc16d5f6c87c1897a0e54 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 f46a69f5bd698334bf3dc06d2fcbd682d8ddfa7b..3e8e93798e8ba750a257342e74f20acf2878df63 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 75c313a62b57a6d10bdcf3924fc3227ce6c228ab..61db89b0180c87a1c9e4bbcb24c7d6fb5ad912b3 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 2762c97d0f37434ae5a890254b674f26fa20988d..8815388fd69f21402524022d2977f8c10449f30c 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 95d4c1abf091b562eb87fb6bb6ea87c3dd63cf96..de1cb869b87eb249c994c7bcb8e1da10dc2eb43c 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 97e85853284845549a4fe7f6522135230aa26f6d..ccd6592d22222f126f6c20fef17b534118e7978b 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 ac4303c383f3a0a31fcfbeca84eed6b251d9b479..29be2b42d02620b5f5d1f8ea06f28ba108b99462 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 7de0e9246e16ae9b0d29b8ba9a00ba477e209c76..61b3f9826350b19b3a0bc71d6c1111dbac200b65 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 a33c77b413888cd5d12311692abb44bf2927cd1d..f843c24dfc45e3eeea66303634a691d079faf902 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 851b39b6ddd14dabd0b34b8b3a5d60a183496f2b..73e79864a6aaca8eb46f4c9abb008b1ffc4a4341 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 9d53e7d4d85be7114ca198689e65b768152bbb7d..05a45243d80f8c55fbbc0f0b61d36577c0fc1e48 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 7d521cc7411dfda511683907e33b96ca2d2aaa81..cd66af34cc3d5f9ccde1cf0074786370dff6af74 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 ebc7be64685fd4d5a5b40cb7180995eaefc42c9e..a5188e38f04bc91b5c90f3a1d72e330e6090b74f 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 c5eaa1a267cea2ff05412d0f7c31524df46e7927..61c70855f549dcff09faf4c8eb984a48e14f7b05 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 e6d5fc845edb3f10f5741976155bf30392f856e8..2002a0e0f0a2ff05f033d00ebd5aab4e3b7835a6 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 6de5a23d9c7f561abb280e50fd09f4fcfa6962ff..2ca118c47cf4e47f6c3d7f29f1cecce11720ca79 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 72dbf37579bf082380669505c9188aceabd0be1c..bc49df3ff4d80ef5db61d1812cf31629362e6b81 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 923d1d35e06a3295025b1e2343b7156314e4ce9e..6c0f789b9b8a319118217a0a06b1b73e6813d2fd 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 bf03a077bacea8895baeddbb8062952ab51c79ed..ced00f94c50d01ddaf3088df806b05f60b104e82 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 08fc93a686b3341a74a95110f6c9bcf8c618386c..8ccdfde750e62876f04cce48cb4cf9a8bd886440 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 0e4dfe8abb495b447db248cc8355011288c339ef..bac78a55c78961ff7230f72efa4f2182da336c9a 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 8dc586144ee33fd7d99c4270b0fd62a58c1c64be..43f6225396e702e34828cbebdc649155f2167add 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 a9a87e9eeb966ad5b259dd26c337acd2455b0971..f7394051b0d5cc016903d67a891bd589f4b28a8d 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 6310fb445e977d8a5872725c5c75a64961a39ecb..9b16565678d44c0530c0f15f347c6b4c485b8f29 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 cea39cbb63135e8f52a9b3681fe451835aefdb6c..6cd4850ddd89e43be84debe18e4c75d42ede0d64 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 5a80bd75e879774f577354c8aa23fdfbaee8e0b4..70e92d844f4817aa61584e0b1e78d7730dc423c6 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 5a7ecbfbdcec38a76df7f540808dd8130b1093c1..2ce49772a1df21f315942a977e01963ddaf99257 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 cb79bc8408944846b00ad0ef03a87a25f9aba173..e37bd7ef4d7d5fcf5757f631cadad6fd0df7f1e5 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 466e49876334f7223688a9c4359fcf1c329d3ab5..161a1a57705d7c6841ee2466676f2b97cba9eb12 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 e0932618afda0b1b66e42bdebea809f77eaa200f..1de79ee5600014b590e49ed673ca11221440752f 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 ee212b044ee1bad139e83587192564e413eaf442..54354da48858c4f64530a03fb285f87055b2f496 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 1dcd13e30865bdd9ff05690574af7ff6f2ae5d53..4b7e347204d2d00cdab67f479352c516218f8035 100755 --- a/htdocs/compta/journal/index.php +++ b/htdocs/compta/journal/index.php @@ -16,7 +16,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -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 39b31c86fd221386d418073d1ed86f7016fcc6de..07cd3d146e2bccb01fb321d889e2173a5c09636f 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 60ae2bf7f58b5c5b414b3c40548b25b4f6173688..66ed316c35ebccae526cb0a89c2bd6a052894aaf 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 4663e80e08c7978e641622be113aa3cd1ebd48d5..e62dc08adc9c61426df69ad42ced15211fb8c1d2 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 4f9184d2b1a92983564f068236950bab5a7201dc..aa27f201a268f920938a3e72652e499fa0fea806 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 c21d07fc69c2afb045bebeabe8bfff87e552e51f..0e200544a302ee0ff5462015831fc145fe106c75 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 dfd739ad8e3c29ce2b0583668613658383e06b05..6d4bf4de6dc663f0d3fa1c69848e5b05d03ec19d 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 a155bab47222c04536b6bdc572f3bc6bbbf92cc7..d6b9f3d9331a6daf185495de1da6ea30be39fbed 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 7cfe2104b450da7311edcbfa817f409915f3c289..1cfef2ad7a85b477e2783551a72e19135280bed4 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 6830a1309728b4bb40092f488314c7ae2df201ce..732b8aafc06df6cbe910ad359be8fd6fe17fb9ba 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 882b0a5b3009a63eb44b151fedba16e347877c24..e271e801650c12aab80df1a051422bd9e03dbe56 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 1a97b7d09388196cab05db8185a6112341e6abce..318a1b17be1bd024413ee55e58f4ca0c09f9ff0e 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 e8a8a3b0b18e31f5f6bcf0f9eae3002f7f3706ae..535e3a013da4f9ee5d94a4740c4bda2939f8393f 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 d7eebe8dd83b45a5d616a04bbd9f307750d3f013..2f2f32bcbc21b67ae883b7047f679429effaa836 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 b2b6ca304ac6e1b787cb8a752a370f8184c6feb3..79bd009f0562ceb4b43797916ec84f4d527ddb6a 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 fc401bd8c8514ce5b88eb9e08786de19f9a325d2..714d8a20d59379cf969d0ff7c9547edb127250bc 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 c8a953a5176da03b822ef15e2d9f2a69616cab0b..f9e6f61852fc70bae4e2033d4e392af23aa5a43e 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 2af75cdecdf72c8871a00f3e940bb7eeb7a823df..d10f051fba3443145b51b5892a3c5a8a0fa45765 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 f7acb55fee1eb02d2031deca5870c1393efa2a8e..01b5fe1bf01f90f11582616d1527eeae372f295c 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 a73f676667eef870b3654d24d19ebb97691f9265..28836a60943a160134cf2e5eb66c69fbf3f1bba2 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 f11e12a243e389f4dbe61da51d2663e069c49080..7639cef4535df97f73ff8c66d052ea2b13a9015a 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 c33d15cc57763608db5218a511b877b681e7c20e..20f388c7d1df0e38c909a4882639e6d83facf745 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 4fa3311e4f47e159e2967b46604604022d68ea55..d6f94d15861481a2726d3236afa75fe729d7c2ac 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 37e7109090a85fd2b2f52ab344d8f14838ed6715..39f004e06def79158f88d89ef3b4aa974a69c83e 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 aadcc74adccf95f6993051ab01451b369aa29521..105d566f93e4ea755aaccf31e4917baa204f895a 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 1959ed96d8bf113f9a3d2b6ab9a97c114d3912ab..a7bccc6668abf4426f466275a921690be81afb7d 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 5db1efb616747bb7b36cd5d0aebb8e11e4db4fc0..81f6ec188ff0fd26f6783fcc86b1acb95286648d 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 a5c6794d6f731b245b00395e21e28ab70cccf5a4..c4ed053aa8b56ad7bac75ce24610603fa61459cb 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 5d420ac48945d9d92f17c631d814f14f9c315870..8dba0b37cae111a367be0fa52601cc49834d8c2a 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 5f8e74fdfdcaacfc4869b8a743fd0e34e8cdf48a..3f8858d8ab8f3ffc0d584738aaf8f3c5427244a1 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 c7b1f3c559b44366e8a9dc52b235b9e4888d7aec..ba5c170128861b3aa43d06a693e4965e2d3954fc 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 2fd88dcfeba04bc6da274031e990a7e742a82074..84d7d21b842f6d1a5cb3c13c35e877913795ce4d 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 2e777b8d030b7986bf78eca25868b466bfb9d0a2..cdb8c60e58e3f3f11a912db279fe43108ce62941 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 5e73bf340a421a40a1529e01acd91b828391b6d1..b39df8c13414e7b27b37e7f15063871b51c6d666 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 9a7bce53aa6caabd7b9d6100454b1c23e9ccc8b7..c458f55813d44428ba03bae19a3145c964bda65d 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 8c33f488a92e7ede4a2b2a6058a7bb6ed115ee76..fb8526d077c9e43bf1788647b60c149b8611720f 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 a215ae7b7ff48cbf765cff60f2d56eccfb80ae34..bc23e2c3c73854d24e226dcdac3f17632d308f43 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 9463df6d80ddacec3cc337010a1e6cf2c958eb34..0e9a8db8595341716e65a32eca174eadf843bf8f 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 efcba0ae51ae5884031615ebd5c8271f1a963280..e423136b7ee3cf8f22a454ac5a748cd50a2edf88 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 436ce96b418e920335b2f38582f6fed53b5fba4c..4dc224c73b2b26d7b6a60a7851a59c45b2f5e413 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 b8ad2a490801c9c3a4b1e51c652f750b228b128c..128ff9b8c86a05bc9427836f4ff644c0467b238f 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 e862b5970de79076aefd6aeadc3b94c4c8fb79e4..ec0441fba2fb2d0778758b955c6eb8cc329a5ffb 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 0376d7cf5dfc103f0aec4cb869ddaf35fe20aef4..08a14a166871b09f92b32fa18aa2b9c167a93f62 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 4c56403184a638b2117602159ddf87c3fec9f405..31a86e475df00e64eaf6b112ef6d5a6cbac6ee96 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 6f8171a8bb053ced99b31e1f8bd189d2e9219196..3bf19f189424e2d833762026cbb3fed732d225b4 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 bdd957d1f2dc2c406a4a34207dddae83eca14500..12b878fc4be6df4ac13ebc74a757241f309c4ca1 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 23af370180c38208bc2af16b7274b9d657935cbc..71dbdb6c9478d0ae5fa8d39e5558b281d181d3ce 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 63dea4f7b617e1b06575e3ae21fc4e5f7c5500f1..a73584903bf98b716d3efeb9e8dec35f60c4fb31 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 31676c3518b0fba7ffa7929211e1fdb55028989a..e6ea960fa98f4b3f1cdec2b3ec8429fe944f46d0 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 dc0c188418b8499b7e157da91f0d69989287ec55..5ac598d7a66bb38bc7c683fce2bd28dda5793d45 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 d75b7fec26b270ac22c6bded2bb39bef5a5da571..1bcd7cabb47b0e3de027e6de4e987f3490729c1b 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 e25fd319c01322981dcdddb4d23ee2075a4bcf4a..dec625e95a8eab996e1eceee163a43a47bd54a26 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 c3467a433814d20f3e72b636a400ea45f519a52f..6d18e2cdba7d10de6dc2676a55ab15fd4c46732a 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 2766a7c0eac2e78b7345dcdbcd6af25330b55466..9cce69f1717bf080a100ecf3ede82b5ae5d588b8 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 a019ff63666d52c0a1d1002c6f1d6c67eab7ccd5..d24b22757329a1440030bbfa86fd25f08db41795 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 6418f61635427d48ad98c6d1e5cd6090126274f5..2e10e8cd189a6ddb1b8e57eee5bf5cf51baffffa 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 9c763d258cc8f13bb1decd34b7b59191c43bee13..183baab771f9cef8b35611e13e4d07a1fd11c3f3 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 184231e8ec7effd3ec545b7e014c7b1bf36dd164..4e703ea650fb6cac5362b58b613e0fc82f543436 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 cf769a9592f87e8bc221595da45c42022efe058f..60aa986f113457ced65e225887a70ba25e9e2f91 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 19cdf95c6d0ce3a74212eadf2ba2a1db981c272d..294b1adc6bcd3b774252754a7d73f8c8af1982ba 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 4d157c62e885d0efc86f64761cba659f1c89e386..e8b55255418a4de60b619f15e694d9564354a017 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 43ddc3ff83e28fc43cdf4f222f50bcea957c6725..6bd01d3ad337630a1f14abd4497cce15e920e456 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 7cf24f58a2dacaa93ecd42e2024468f1835dafb9..33be09b9a433d9bea69156e30108a00a39f0b2f5 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 567747db5dccfbfdd9f976f2216b40d65bacc325..ed386d31a8d71f37489e40ff58af68402dd1b2e1 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 34bd1471f91b37f9a9bd8c0533278215e8a34ab1..ace7abcc6b996fa0d2ce1cb1dd9845941fe7c93a 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 fe182d6e3560618aec43ac4049520c8b31489827..f76acf85f24e19b870d7741556fbd849ef1a6439 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 80bae86f25a216d8d7e1687c79c5b19be87ddcd0..20a230be6bae26910299ff7f0f3d7957dfffc43c 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 c5de7b4a50b41e917cc63131bb4c69bc3db310cb..1d9f373902ec1c357ee0bd6ce79b42be5050cc7e 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 8d6e53c24c7c6a77f4471c358fcdc7b8a3dbe134..5497aec426e13c5ec31649e760e7709279e1a29e 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 59755b1f63284a43f37b31e348d03591f87178cb..a79a9f5d0ff6c2237afdffad726dbbe45ce29a88 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 025d1dc9dd05b475ae7e6c7cd470f17f54415571..3d71cd791cbad353e9b3f80d342a780c9266cb55 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 6b58cad214aab8a8b20aaa01fb866c05021ec0b1..472e50b55744fde03fdee5b5abeb56fa247e212d 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 f29ead60176592a3df96fa4c97a3192312f6b2f6..831f3c5dea85885b7a547733f482d5dd2571b420 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 faf1575ddbf705ca857517856fb90dd84b4be9b4..6921220583214a18b106649fdd6f7ae0b7bdf41d 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 c1a34933b7c9a07140369d2cb03812769a8a2139..8e32fe6551c5389bf4c27c1da0aa8d1dc2845e3d 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 d1dc24e8a990f7305afdda68a747f17d7c455af4..ec44c8c8c7649f72c1dfd9cd6093f706200c3a41 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 985cfb9b71bed9ab1b99147ee304c239bc64be24..97ed9e4697c823faab8fa2e292aba08797146272 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 38b7e4c6007ce2cc7557a81109d62bfb8e384e66..c9dfed825d6f021fab01747bab11fc7523e23ac4 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 5da35174c3a74072ffda4c63d186741cb2d6df51..5ee5ae29aaaf875306ae45f0e0e041431c69b939 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'; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> diff --git a/htdocs/core/filemanagerdol/browser/default/frmactualfolder.php b/htdocs/core/filemanagerdol/browser/default/frmactualfolder.php index f22f2cd15a4d492e717a48b8718ef4a3f019abce..7556f2b437db4d7052b3b24855a05462d7701df7 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'; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- diff --git a/htdocs/core/filemanagerdol/browser/default/frmcreatefolder.php b/htdocs/core/filemanagerdol/browser/default/frmcreatefolder.php index 97b63d1b8ccdc562577bb5ad769f2593c6a36eaf..2e4da2e0cfe63d280427b092b65bc152d98ee1c7 100755 --- a/htdocs/core/filemanagerdol/browser/default/frmcreatefolder.php +++ b/htdocs/core/filemanagerdol/browser/default/frmcreatefolder.php @@ -21,7 +21,7 @@ define('NOTOKENRENEWAL',1); // Disables token renewal -require('../../../../main.inc.php'); +require '../../../../main.inc.php'; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- diff --git a/htdocs/core/filemanagerdol/browser/default/frmfolders.php b/htdocs/core/filemanagerdol/browser/default/frmfolders.php index 74f09d2697d5e53d7b00c122ac2b1bd9d77287d5..badc164775434b01e868d85c4ee773dc978a5212 100755 --- a/htdocs/core/filemanagerdol/browser/default/frmfolders.php +++ b/htdocs/core/filemanagerdol/browser/default/frmfolders.php @@ -21,7 +21,7 @@ define('NOTOKENRENEWAL',1); // Disables token renewal -require('../../../../main.inc.php'); +require '../../../../main.inc.php'; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- diff --git a/htdocs/core/filemanagerdol/browser/default/frmresourceslist.php b/htdocs/core/filemanagerdol/browser/default/frmresourceslist.php index ccb3786ad997c7b6a2cfa82e863890890b7f47a3..40c92065b6f688bc24c87174f2db09e40309d0a6 100755 --- a/htdocs/core/filemanagerdol/browser/default/frmresourceslist.php +++ b/htdocs/core/filemanagerdol/browser/default/frmresourceslist.php @@ -21,7 +21,7 @@ define('NOTOKENRENEWAL',1); // Disables token renewal -require('../../../../main.inc.php'); +require '../../../../main.inc.php'; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- diff --git a/htdocs/core/filemanagerdol/browser/default/frmupload.php b/htdocs/core/filemanagerdol/browser/default/frmupload.php index 5365ddce84d71cc3d0432e70aae39df4c6d69576..88715e31549ead7102a08b811164e81461fddbdb 100755 --- a/htdocs/core/filemanagerdol/browser/default/frmupload.php +++ b/htdocs/core/filemanagerdol/browser/default/frmupload.php @@ -21,7 +21,7 @@ define('NOTOKENRENEWAL',1); // Disables token renewal -require('../../../../main.inc.php'); +require '../../../../main.inc.php'; ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- diff --git a/htdocs/core/filemanagerdol/connectors/php/connector.php b/htdocs/core/filemanagerdol/connectors/php/connector.php index 656c38c1c3a46ca8bacdf44bf18a099c4441c78f..f2bf9cc1404b670ca50b138969b4e175cf48c38b 100755 --- a/htdocs/core/filemanagerdol/connectors/php/connector.php +++ b/htdocs/core/filemanagerdol/connectors/php/connector.php @@ -24,11 +24,11 @@ ob_start(); -require('./config.php'); -require('./util.php'); -require('./io.php'); -require('./basexml.php'); -require('./commands.php'); +require './config.php'; +require './util.php'; +require './io.php'; +require './basexml.php'; +require './commands.php'; if ( !$Config['Enabled'] ) SendError(1, 'This connector is disabled. Please check the "editor/filemanager/connectors/php/config.php" file'); diff --git a/htdocs/core/filemanagerdol/connectors/php/upload.php b/htdocs/core/filemanagerdol/connectors/php/upload.php index dc3de2a74a1b24d0813efcbe2d960fc0894ce3f8..3be1c3e4fe054e292823951dae97581a72bae115 100755 --- a/htdocs/core/filemanagerdol/connectors/php/upload.php +++ b/htdocs/core/filemanagerdol/connectors/php/upload.php @@ -22,10 +22,10 @@ * This is the "File Uploader" for PHP. */ -require('./config.php'); -require('./util.php'); -require('./io.php'); -require('./commands.php'); +require './config.php'; +require './util.php'; +require './io.php'; +require './commands.php'; function SendError( $number, $text ) { diff --git a/htdocs/core/photos_resize.php b/htdocs/core/photos_resize.php index 8289387722b16558902e79b0b389a8889abe29bf..4de1eab4d30c40951e5e276afc58127b51b0578b 100644 --- a/htdocs/core/photos_resize.php +++ b/htdocs/core/photos_resize.php @@ -34,7 +34,7 @@ //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'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; diff --git a/htdocs/core/tools.php b/htdocs/core/tools.php index 886b898ae37d606c61b0ffda0eb2c9db45c84dc7..44662ec7d99a307863ab76cea6d424246f69bdfc 100755 --- a/htdocs/core/tools.php +++ b/htdocs/core/tools.php @@ -22,7 +22,7 @@ * \brief Home page for top menu tools */ -require("../main.inc.php"); +require '../main.inc.php'; $langs->load("companies"); $langs->load("other"); diff --git a/htdocs/document.php b/htdocs/document.php index 340296c1cc49ae5992c3c045204f7fbe6608a8a8..99e428462df701d46dcf924ccd4c6fe2b1093034 100644 --- a/htdocs/document.php +++ b/htdocs/document.php @@ -46,7 +46,7 @@ if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1'); */ function llxHeader() { } -require("./main.inc.php"); // Load $user and permissions +require './main.inc.php'; // Load $user and permissions require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; $encoding = ''; diff --git a/htdocs/ecm/docdir.php b/htdocs/ecm/docdir.php index 3fe29f6ac1171c10462bff47eb625af6eb58c2ed..8aee5bc984d0a6adf46c6b94f1e389832353e1e3 100644 --- a/htdocs/ecm/docdir.php +++ b/htdocs/ecm/docdir.php @@ -23,7 +23,7 @@ * \author Laurent Destailleur */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; require_once DOL_DOCUMENT_ROOT.'/ecm/class/htmlecm.form.class.php'; require_once DOL_DOCUMENT_ROOT.'/ecm/class/ecmdirectory.class.php'; diff --git a/htdocs/ecm/docfile.php b/htdocs/ecm/docfile.php index d8f02c94e4176756c0df30c2418d7829a5dff37c..2edeb595c9837f2b0511a7eec144ab71468ddc90 100644 --- a/htdocs/ecm/docfile.php +++ b/htdocs/ecm/docfile.php @@ -22,7 +22,7 @@ * \author Laurent Destailleur */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; require_once DOL_DOCUMENT_ROOT.'/ecm/class/ecmdirectory.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; diff --git a/htdocs/ecm/docmine.php b/htdocs/ecm/docmine.php index 61fb8da61b7ade6e26611c5f54caafda639e5c80..16c407457d0eeca834f45b0009faf66e5cc91ccf 100644 --- a/htdocs/ecm/docmine.php +++ b/htdocs/ecm/docmine.php @@ -23,7 +23,7 @@ * \author Laurent Destailleur */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; require_once DOL_DOCUMENT_ROOT.'/ecm/class/ecmdirectory.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; diff --git a/htdocs/ecm/docother.php b/htdocs/ecm/docother.php index b836a1c23bc8298d0bc3fca1b661f03e002e17ac..4c618c79e71c01c15862ae3e4f9518b41660302f 100644 --- a/htdocs/ecm/docother.php +++ b/htdocs/ecm/docother.php @@ -9,7 +9,7 @@ * \author Laurent Destailleur */ -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/lib/files.lib.php'; diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php index c5cfbb8caed7cf265a4683387a73ba6abc79f1cc..0da4bcdff5dc0e6f37a98bc02917d36565b33976 100644 --- a/htdocs/ecm/index.php +++ b/htdocs/ecm/index.php @@ -25,7 +25,7 @@ if (! defined('REQUIRE_JQUERY_LAYOUT')) define('REQUIRE_JQUERY_LAYOUT','1'); -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/lib/ecm.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; diff --git a/htdocs/ecm/search.php b/htdocs/ecm/search.php index 6765be8219716660202cdf76adf6c92b260017dd..16ca5d56a366e5fdad375e1becccfb933af43656 100644 --- a/htdocs/ecm/search.php +++ b/htdocs/ecm/search.php @@ -23,7 +23,7 @@ * \author Laurent Destailleur */ -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/lib/ecm.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; diff --git a/htdocs/expedition/contact.php b/htdocs/expedition/contact.php index 24d4481292cba33382eb6fe7f3c1b3553d54e2ec..f74ccc9d02da1a16cf1fa287a975956a09fda56a 100644 --- a/htdocs/expedition/contact.php +++ b/htdocs/expedition/contact.php @@ -23,7 +23,7 @@ * \brief Onglet de gestion des contacts de expedition */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/expedition/class/expedition.class.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/sendings.lib.php'; diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index b0c7c424bb35a3e0eb5eea697ab3d0cc0afa1c36..8270f86eaff96c921aae0cc52e9ecb967c9dae01 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -25,7 +25,7 @@ * \brief Fiche descriptive d'une expedition */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; require_once DOL_DOCUMENT_ROOT.'/expedition/class/expedition.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; diff --git a/htdocs/expedition/index.php b/htdocs/expedition/index.php index 5c6baed4e4d8b77207e29936f100f2fe00106c97..aa35c12d092df8ab624c162ff55210a1a629c038 100644 --- a/htdocs/expedition/index.php +++ b/htdocs/expedition/index.php @@ -23,9 +23,9 @@ * \brief Home page of shipping area. */ -require("../main.inc.php"); -require(DOL_DOCUMENT_ROOT."/commande/class/commande.class.php"); -require(DOL_DOCUMENT_ROOT."/expedition/class/expedition.class.php"); +require '../main.inc.php'; +require DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php'; +require DOL_DOCUMENT_ROOT.'/expedition/class/expedition.class.php'; $langs->load("orders"); $langs->load("sendings"); diff --git a/htdocs/expedition/liste.php b/htdocs/expedition/liste.php index 168b81fdffd18d44b3c7198074b9bed21df63b30..1225eb75c7d11a95be5d00b4b23d5dc6bb551e76 100644 --- a/htdocs/expedition/liste.php +++ b/htdocs/expedition/liste.php @@ -23,7 +23,7 @@ * \brief Page to list all shipments */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/expedition/class/expedition.class.php'; $langs->load("sendings"); diff --git a/htdocs/expedition/shipment.php b/htdocs/expedition/shipment.php index 947a1a844acd112467fa64fe461b2f514ade1cde..f9b5d80fe626064144e780852bfa70d32d6db0fa 100644 --- a/htdocs/expedition/shipment.php +++ b/htdocs/expedition/shipment.php @@ -23,7 +23,7 @@ * \ingroup expedition */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; require_once DOL_DOCUMENT_ROOT.'/expedition/class/expedition.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; diff --git a/htdocs/expedition/stats/index.php b/htdocs/expedition/stats/index.php index 6804837f31f3fb1330133d8888cb6daba4359a79..3e1f74ca35d4e766c6a7ff6b48e9b1d26430a58e 100644 --- a/htdocs/expedition/stats/index.php +++ b/htdocs/expedition/stats/index.php @@ -23,7 +23,7 @@ * \brief Page des stats expeditions */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/expedition/class/expedition.class.php'; $langs->load("sendings"); diff --git a/htdocs/expedition/stats/month.php b/htdocs/expedition/stats/month.php index b4733edcbfaab29bf6913cfce3cb6fac0853f8f8..538d8fa290b07b921bf81b2cdc12d778a96a2652 100644 --- a/htdocs/expedition/stats/month.php +++ b/htdocs/expedition/stats/month.php @@ -22,7 +22,7 @@ * \brief Page des stats expeditions par mois */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/expedition/class/expedition.class.php'; require_once DOL_DOCUMENT_ROOT.'/expedition/class/expeditionstats.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php'; diff --git a/htdocs/externalsite/admin/externalsite.php b/htdocs/externalsite/admin/externalsite.php index 6e1e510712a68213d75e1491223bae73422f38dd..59a98ded0a22831a7d2f5d69c80c1fead01787fc 100644 --- a/htdocs/externalsite/admin/externalsite.php +++ b/htdocs/externalsite/admin/externalsite.php @@ -26,7 +26,7 @@ * \brief Page de configuration du module externalsite */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php'; diff --git a/htdocs/externalsite/frames.php b/htdocs/externalsite/frames.php index 64c88630fbe77dce76e3796fde73a05d82e010b6..734096506f5d098b86668d4a42a031bfa71ad816 100644 --- a/htdocs/externalsite/frames.php +++ b/htdocs/externalsite/frames.php @@ -23,7 +23,7 @@ * \author Laurent Destailleur */ -require("../main.inc.php"); +require '../main.inc.php'; $langs->load("externalsite@externalsite"); diff --git a/htdocs/fichinter/apercu.php b/htdocs/fichinter/apercu.php index 1132882276ee0084558c714f5c90feb289f7938b..2501f4cd88f1fcbd4193de493e425fa01b5a5f48 100644 --- a/htdocs/fichinter/apercu.php +++ b/htdocs/fichinter/apercu.php @@ -24,7 +24,7 @@ * \brief Page de l'onglet apercu d'une fiche d'intervention */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/fichinter.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinter.class.php'; diff --git a/htdocs/fichinter/contact.php b/htdocs/fichinter/contact.php index bf795e43faf0a043597c75f008e5ac568c99f097..4a12c061e0258aaaeb5d2146c7d028c1da63e3ec 100644 --- a/htdocs/fichinter/contact.php +++ b/htdocs/fichinter/contact.php @@ -23,7 +23,7 @@ * \brief Onglet de gestion des contacts de fiche d'intervention */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinter.class.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/fichinter.lib.php'; diff --git a/htdocs/fichinter/document.php b/htdocs/fichinter/document.php index 6e2ec78405084d3ba4e434315af869a4341bef73..c4647054f49314ddf071ed40c0882c350af7258f 100644 --- a/htdocs/fichinter/document.php +++ b/htdocs/fichinter/document.php @@ -26,7 +26,7 @@ * \brief Page des documents joints sur les contrats */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinter.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/fichinter/fiche.php b/htdocs/fichinter/fiche.php index 5f79f455dd60cf36ccfa14417cbe54f217dd7660..6434a08ddf14e96b17c20060d6298b4ecb95107d 100644 --- a/htdocs/fichinter/fiche.php +++ b/htdocs/fichinter/fiche.php @@ -24,7 +24,7 @@ * \ingroup ficheinter */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinter.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/modules/fichinter/modules_fichinter.php'; diff --git a/htdocs/fichinter/info.php b/htdocs/fichinter/info.php index 018a81532a7df4db11d38dbe660aa3b314cd4a50..fe2b880272170e8355d38653dc1a052c51d22bd8 100644 --- a/htdocs/fichinter/info.php +++ b/htdocs/fichinter/info.php @@ -23,7 +23,7 @@ * \brief Page d'affichage des infos d'une fiche d'intervention */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinter.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/fichinter.lib.php'; diff --git a/htdocs/fichinter/list.php b/htdocs/fichinter/list.php index e56650146af6809be7ce282d83c79cf42e81f0b8..98e9600b56a8a40256c51153427b70ebee6bb2d0 100755 --- a/htdocs/fichinter/list.php +++ b/htdocs/fichinter/list.php @@ -24,7 +24,7 @@ * \ingroup ficheinter */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinter.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php'; diff --git a/htdocs/fichinter/note.php b/htdocs/fichinter/note.php index d43428d5c20c8d8a1f0d137e28011593eec26f01..b284da446bba74011f641a2f40044ccd9fbe7740 100644 --- a/htdocs/fichinter/note.php +++ b/htdocs/fichinter/note.php @@ -22,7 +22,7 @@ * \brief Fiche d'information sur une fiche d'intervention */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/fichinter/class/fichinter.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/fichinter.lib.php'; diff --git a/htdocs/fichinter/rapport.php b/htdocs/fichinter/rapport.php index 6cf6a94c3725e5db1d93998b2e50e623eb1bb5b4..88f5eedd2f820d6e18273b40e1f847e773f6a1ca 100644 --- a/htdocs/fichinter/rapport.php +++ b/htdocs/fichinter/rapport.php @@ -18,7 +18,7 @@ * */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; $langs->load("interventions"); diff --git a/htdocs/fourn/ajax/getSupplierPrices.php b/htdocs/fourn/ajax/getSupplierPrices.php index be7d706c63fdcd449dea790cf0d81564bd8f2218..bc96428bccb3bf5ab686736145cdb308b1eaeda8 100644 --- a/htdocs/fourn/ajax/getSupplierPrices.php +++ b/htdocs/fourn/ajax/getSupplierPrices.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'; $idprod=GETPOST('idprod','int'); diff --git a/htdocs/fourn/commande/contact.php b/htdocs/fourn/commande/contact.php index 17ea2a7966f2ff76143949f9f919330b4ddaa320..977f520ad975758f99aca031305e2cdefa0184f1 100644 --- a/htdocs/fourn/commande/contact.php +++ b/htdocs/fourn/commande/contact.php @@ -23,7 +23,7 @@ * \brief Onglet de gestion des contacts de commande */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php'; diff --git a/htdocs/fourn/commande/dispatch.php b/htdocs/fourn/commande/dispatch.php index 362bdcf8ea1720a6604a73a627440c4164bbc111..d877dfef3d8832d52891b13bb4c759c8c9818f2e 100644 --- a/htdocs/fourn/commande/dispatch.php +++ b/htdocs/fourn/commande/dispatch.php @@ -26,7 +26,7 @@ * \brief Fiche de ventilation des commandes fournisseurs */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/modules/supplier_order/modules_commandefournisseur.php'; require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php'; diff --git a/htdocs/fourn/commande/document.php b/htdocs/fourn/commande/document.php index affc9245534aed7f42794880d25fa104dbd70aa5..da69298763e0546455c0383606671bfa04775803 100644 --- a/htdocs/fourn/commande/document.php +++ b/htdocs/fourn/commande/document.php @@ -24,7 +24,7 @@ * \brief Page de gestion des documents attachees a une commande fournisseur */ -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/fourn/commande/fiche.php b/htdocs/fourn/commande/fiche.php index 3a9d43179ff661b3813d74049121ff206c5ae5f0..e9f2b2f14a34f322402085fe2b26001e6f051063 100644 --- a/htdocs/fourn/commande/fiche.php +++ b/htdocs/fourn/commande/fiche.php @@ -28,7 +28,7 @@ * \brief Card supplier 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/supplier_order/modules_commandefournisseur.php'; diff --git a/htdocs/fourn/commande/history.php b/htdocs/fourn/commande/history.php index d55e3c44674cc2e303e89bb7e94b2fb176bd521f..2ba34ecc885e2a8b5b221ce5987bb0c66c4a47af 100644 --- a/htdocs/fourn/commande/history.php +++ b/htdocs/fourn/commande/history.php @@ -23,7 +23,7 @@ * \brief Fiche commande */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php'; diff --git a/htdocs/fourn/commande/index.php b/htdocs/fourn/commande/index.php index f2fede8eb152a56a06a176e22dbfd72261af57b9..be28bda2549f1f78a7f00d228d37c03368c3d883 100755 --- a/htdocs/fourn/commande/index.php +++ b/htdocs/fourn/commande/index.php @@ -24,7 +24,7 @@ * \brief Home page of supplier's orders 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.'/fourn/class/fournisseur.commande.class.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; diff --git a/htdocs/fourn/commande/liste.php b/htdocs/fourn/commande/liste.php index f93152a174ebeb3bd231306ae7111adc6e2805b5..df1da58b3876f0907abcbaa4e6a964f3aa81c683 100644 --- a/htdocs/fourn/commande/liste.php +++ b/htdocs/fourn/commande/liste.php @@ -23,7 +23,7 @@ * \brief List of suppliers orders */ -require("../../main.inc.php"); +require '../../main.inc.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/fourn/commande/note.php b/htdocs/fourn/commande/note.php index ad785cd25b6f35850c98273727929c4b00541969..b1c2244869a41e175a7a3ceda550e48a48af2c9e 100644 --- a/htdocs/fourn/commande/note.php +++ b/htdocs/fourn/commande/note.php @@ -23,7 +23,7 @@ * \brief Fiche note commande */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php'; diff --git a/htdocs/fourn/contact.php b/htdocs/fourn/contact.php index 19d8d0cd01e8348592c1ec0384561c07d00d50ce..958c8cec9b2a18ed4149e9e9be33ad5ac1d1b251 100644 --- a/htdocs/fourn/contact.php +++ b/htdocs/fourn/contact.php @@ -23,7 +23,7 @@ * \brief Liste des contacts fournisseurs */ -require("../main.inc.php"); +require '../main.inc.php'; $langs->load("companies"); diff --git a/htdocs/fourn/facture/contact.php b/htdocs/fourn/facture/contact.php index 243aadf00ffe1aa5099ff28a1283b9e63d7d9241..e5ed32723630fcad38f937ee118913bdd557423a 100644 --- a/htdocs/fourn/facture/contact.php +++ b/htdocs/fourn/facture/contact.php @@ -23,7 +23,7 @@ * \brief Onglet de gestion des contacts des factures */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; diff --git a/htdocs/fourn/facture/document.php b/htdocs/fourn/facture/document.php index 66f8d120071f553de176bec37ec7bb6817c30da0..a3f1df2bd881261c1fd380ebe8d85b26f5b5ac5f 100644 --- a/htdocs/fourn/facture/document.php +++ b/htdocs/fourn/facture/document.php @@ -24,7 +24,7 @@ * \brief Page de gestion des documents attachees a une facture fournisseur */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php'; diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index eacb3de33508a5188103f7c09b58afbac2faba89..513a820cafc038a49afc801a2532ee0f1d8b33a7 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -26,7 +26,7 @@ * \brief Page for supplier invoice card (view, edit, validate) */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/modules/supplier_invoice/modules_facturefournisseur.php'; diff --git a/htdocs/fourn/facture/impayees.php b/htdocs/fourn/facture/impayees.php index d0f153209861ab16f8fa7487b44695963e7f3b31..5257a2c83f3cd3a5024036c56078c2dea17e68b0 100644 --- a/htdocs/fourn/facture/impayees.php +++ b/htdocs/fourn/facture/impayees.php @@ -26,7 +26,7 @@ * \brief Page to list all unpaid invoices */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; require_once DOL_DOCUMENT_ROOT.'/compta/paiement/class/paiement.class.php'; diff --git a/htdocs/fourn/facture/index.php b/htdocs/fourn/facture/index.php index 28f421adee874cea58ff362b5c861e6471848b0e..c141d627715a8618b15c75f5c9c47cf51b4a0017 100644 --- a/htdocs/fourn/facture/index.php +++ b/htdocs/fourn/facture/index.php @@ -23,7 +23,7 @@ * \brief List of suppliers invoices */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; diff --git a/htdocs/fourn/facture/info.php b/htdocs/fourn/facture/info.php index 49d9aa54e49b1c2e6db5934f3ad2f0ec2f7af252..d93b48e86bce7d8a5391527c16cd83372c6c820c 100644 --- a/htdocs/fourn/facture/info.php +++ b/htdocs/fourn/facture/info.php @@ -23,7 +23,7 @@ * \brief Page des informations d'une facture fournisseur */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; diff --git a/htdocs/fourn/facture/note.php b/htdocs/fourn/facture/note.php index 1b08221ae31ca8dc2c1b60c22f9a98e2372b6a67..5cdecfeeab021805e76857883621296ed4bb2829 100644 --- a/htdocs/fourn/facture/note.php +++ b/htdocs/fourn/facture/note.php @@ -23,7 +23,7 @@ * \brief Fiche de notes sur une facture fournisseur */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/fourn.lib.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php index fa31e9c0a33530e5506e437955e18db097136b34..3154301214b0b2a316f2fc2acc58dfa60f74408d 100644 --- a/htdocs/fourn/facture/paiement.php +++ b/htdocs/fourn/facture/paiement.php @@ -26,10 +26,10 @@ * \brief Payment page for suppliers invoices */ -require("../../main.inc.php"); -require(DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'); -require(DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'); -require(DOL_DOCUMENT_ROOT.'/fourn/class/paiementfourn.class.php'); +require '../../main.inc.php'; +require DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'; +require DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; +require DOL_DOCUMENT_ROOT.'/fourn/class/paiementfourn.class.php'; $langs->load('companies'); $langs->load('bills'); diff --git a/htdocs/fourn/fiche.php b/htdocs/fourn/fiche.php index 95ff9ae3485ee58b9c12a72c59b4b7915c52a2be..488f260237ac49ed506a77c39485c290ca24ca68 100644 --- a/htdocs/fourn/fiche.php +++ b/htdocs/fourn/fiche.php @@ -25,7 +25,7 @@ * \brief Page for supplier third party card (view, edit) */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; diff --git a/htdocs/fourn/index.php b/htdocs/fourn/index.php index c73885a328cb28430405ea666eaa590b32a27ded..b3935d7c6e60f1540d19cfdd2c7db9e358024a86 100644 --- a/htdocs/fourn/index.php +++ b/htdocs/fourn/index.php @@ -23,7 +23,7 @@ * \brief Home page of suppliers area */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; diff --git a/htdocs/fourn/liste.php b/htdocs/fourn/liste.php index 04eb408de33036734e0c0eede667e5dc86febe5d..956dbf82b7eb7ff18ce3d068cdc8c4b1ca70ef6e 100644 --- a/htdocs/fourn/liste.php +++ b/htdocs/fourn/liste.php @@ -24,7 +24,7 @@ * \brief Home page of supplier area */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; $langs->load("suppliers"); diff --git a/htdocs/fourn/paiement/fiche.php b/htdocs/fourn/paiement/fiche.php index dfb40716ce8f75a3211059f4aa50dd30c84cdce3..cbb7798ec21fe723535cc120a8726b38153659ab 100644 --- a/htdocs/fourn/paiement/fiche.php +++ b/htdocs/fourn/paiement/fiche.php @@ -24,10 +24,10 @@ * \remarks Fichier presque identique a compta/paiement/fiche.php */ -require("../../main.inc.php"); -require(DOL_DOCUMENT_ROOT.'/fourn/class/paiementfourn.class.php'); -require(DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'); -require(DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'); +require '../../main.inc.php'; +require DOL_DOCUMENT_ROOT.'/fourn/class/paiementfourn.class.php'; +require DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'; +require DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; $langs->load('bills'); $langs->load('banks'); diff --git a/htdocs/fourn/paiement/info.php b/htdocs/fourn/paiement/info.php index 164011e0db98ac4b575754f2b69077a674336080..5431bd2efff82bfbe3213fdc56d7b8cd509fa38e 100644 --- a/htdocs/fourn/paiement/info.php +++ b/htdocs/fourn/paiement/info.php @@ -22,7 +22,7 @@ * \brief Onglet info d'un paiement fournisseur */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/paiementfourn.class.php'; diff --git a/htdocs/fourn/product/categorie.php b/htdocs/fourn/product/categorie.php index 768d9489bb3bb10f594973010b9695f035dae1d5..653093695d34e1246db9c5db27de22aceeb269c8 100644 --- a/htdocs/fourn/product/categorie.php +++ b/htdocs/fourn/product/categorie.php @@ -24,7 +24,7 @@ * \brief Page of products categories */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; $langs->load("categories"); diff --git a/htdocs/fourn/product/index.php b/htdocs/fourn/product/index.php index 4f9d8fd7c3e783f7b246e45d8ba1746497570994..bfee87d146d434ef164e6ad6817d53a4b2d71971 100644 --- a/htdocs/fourn/product/index.php +++ b/htdocs/fourn/product/index.php @@ -22,7 +22,7 @@ * \brief Page accueil des produits et services */ -require("../../main.inc.php"); +require '../../main.inc.php'; // Security check if (!$user->rights->produit->lire && !$user->rights->service->lire) accessforbidden(); diff --git a/htdocs/fourn/product/liste.php b/htdocs/fourn/product/liste.php index 778faeec5810bd46456ec0188334319b990b4dad..5a864b7f722643fe8aaad748883a58cdd287e6f6 100644 --- a/htdocs/fourn/product/liste.php +++ b/htdocs/fourn/product/liste.php @@ -24,7 +24,7 @@ * \brief Page liste des produits ou services */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.class.php'; diff --git a/htdocs/fourn/product/photos.php b/htdocs/fourn/product/photos.php index cf6e6fa9f38d2770464791e7da7174d13664ba81..7dc2d69c44d3f1c234d263e997c623516d1dbfd7 100644 --- a/htdocs/fourn/product/photos.php +++ b/htdocs/fourn/product/photos.php @@ -22,7 +22,7 @@ * \brief Page de la fiche produit */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; $id = GETPOST('id', 'int'); diff --git a/htdocs/fourn/recap-fourn.php b/htdocs/fourn/recap-fourn.php index d1b3f0ffbcc7497a8fa6da0592436b3c13b2906f..48ccca8a0da10a3c675c83069d490d6cdd6855ab 100644 --- a/htdocs/fourn/recap-fourn.php +++ b/htdocs/fourn/recap-fourn.php @@ -22,7 +22,7 @@ * \brief Page de fiche recap fournisseur */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; diff --git a/htdocs/ftp/admin/ftpclient.php b/htdocs/ftp/admin/ftpclient.php index 2ede9728a5dc15d1e491eb07b094c59cb14fe086..ed4176da68994d08671fd26d86f1419970e6182b 100644 --- a/htdocs/ftp/admin/ftpclient.php +++ b/htdocs/ftp/admin/ftpclient.php @@ -22,7 +22,7 @@ * \brief Admin page to setup FTP client 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/ftp/index.php b/htdocs/ftp/index.php index c63ef8fcb8ad276b7b5e0e7341968bb7fd810102..3dcf09ab5dd67e570bc874660af91c042bfa28f9 100644 --- a/htdocs/ftp/index.php +++ b/htdocs/ftp/index.php @@ -23,7 +23,7 @@ * \author Laurent Destailleur */ -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.'/core/lib/files.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/treeview.lib.php'; diff --git a/htdocs/imports/emptyexample.php b/htdocs/imports/emptyexample.php index a9a023c787e4a535b552a5f6961d8444de7ae3ff..0363c1d29f68f43298654cc24b8d04590e7a9c76 100644 --- a/htdocs/imports/emptyexample.php +++ b/htdocs/imports/emptyexample.php @@ -26,7 +26,7 @@ function llxHeader() { print '<html><title>Build an import example file</title>< // This file is a wrapper, so empty footer function llxFooter() { print '</body></html>'; } -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; require_once DOL_DOCUMENT_ROOT.'/imports/class/import.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/modules/import/modules_import.php'; diff --git a/htdocs/index.php b/htdocs/index.php index d634545c59d439709f943bb0c4a7265414fef1ec..24a71220d321761dc90e02e100a8185f64ccd23f 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -25,7 +25,7 @@ define('NOCSRFCHECK',1); // This is login page. We must be able to go on it from another web site. -require("./main.inc.php"); +require './main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; diff --git a/htdocs/livraison/fiche.php b/htdocs/livraison/fiche.php index e80f2646f5194e11b008134094d7788d756f99f5..b0b949a4ed0be16b56a8e28f4b853a79cd762949 100644 --- a/htdocs/livraison/fiche.php +++ b/htdocs/livraison/fiche.php @@ -25,7 +25,7 @@ * \brief Fiche descriptive d'un bon de livraison=reception */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/livraison/class/livraison.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/modules/livraison/modules_livraison.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; diff --git a/htdocs/margin/agentMargins.php b/htdocs/margin/agentMargins.php index 4435704b45d220f5a83cc1bc424ecba1e9f3df94..1ee828a95a20b078f57608168756293886e69b75 100644 --- a/htdocs/margin/agentMargins.php +++ b/htdocs/margin/agentMargins.php @@ -21,7 +21,7 @@ * \brief Page des marges 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/margin/customerMargins.php b/htdocs/margin/customerMargins.php index 68f6e5b8bc5576f612bd1eaf467fa24d491b2b40..0bfc0178be11c07eb99e893e90b7e301696d96f7 100644 --- a/htdocs/margin/customerMargins.php +++ b/htdocs/margin/customerMargins.php @@ -21,7 +21,7 @@ * \brief Page des marges par 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'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; diff --git a/htdocs/margin/index.php b/htdocs/margin/index.php index e16f01ac6c0989ac0f43c44f0da0c23231351125..14e2a76561b2cf11431b23c85d50be537367a74d 100644 --- a/htdocs/margin/index.php +++ b/htdocs/margin/index.php @@ -21,6 +21,6 @@ * \brief Page d'index du module margin */ -require("./productMargins.php"); +require './productMargins.php'; ?> diff --git a/htdocs/margin/productMargins.php b/htdocs/margin/productMargins.php index 49735cff4d7a1ca73b1ccc674b36f69536bc18a8..bf6e96726fb4abcc8c4d90185c9f71281004b70c 100644 --- a/htdocs/margin/productMargins.php +++ b/htdocs/margin/productMargins.php @@ -21,7 +21,7 @@ * \brief Page des marges par produit */ -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/margin/tabs/productMargins.php b/htdocs/margin/tabs/productMargins.php index 5d77b41d17edea5e1db3fd23a4d688dede05ce4d..732589eabc43e566f71c066c247090f5d944cc14 100644 --- a/htdocs/margin/tabs/productMargins.php +++ b/htdocs/margin/tabs/productMargins.php @@ -21,7 +21,7 @@ * \brief Page des marges des factures clients pour un produit */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.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/margin/tabs/thirdpartyMargins.php b/htdocs/margin/tabs/thirdpartyMargins.php index 2eac3e91e14f01327dafaa8f0ca9c5ecf782063f..ff6aa959b09d6a48f52b027b56b93765e529db8d 100644 --- a/htdocs/margin/tabs/thirdpartyMargins.php +++ b/htdocs/margin/tabs/thirdpartyMargins.php @@ -21,7 +21,7 @@ * \brief Page des marges des factures clients pour un tiers */ -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/paybox/admin/paybox.php b/htdocs/paybox/admin/paybox.php index 05d1a5435834d43d633964c053885e8d6e4d0d6b..af7821b5bd2ce28778251c60e8fdec14efa7e90e 100644 --- a/htdocs/paybox/admin/paybox.php +++ b/htdocs/paybox/admin/paybox.php @@ -23,7 +23,7 @@ * \brief Page to setup paybox 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/doleditor.class.php'; diff --git a/htdocs/paypal/admin/paypal.php b/htdocs/paypal/admin/paypal.php index 7dbdb9e13ec7382f6907967620c39d6f5cb503ec..5a2b28b722b0a222423e4656766fb7d3c16b8284 100644 --- a/htdocs/paypal/admin/paypal.php +++ b/htdocs/paypal/admin/paypal.php @@ -24,7 +24,7 @@ * \brief Page to setup paypal module */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/paypal/lib/paypal.lib.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/product/admin/product.php b/htdocs/product/admin/product.php index b4fd5ef1be609c8a34a059ea92ac8bc3313b265c..4c6282709a78f0b983662756a5c3899413dd543b 100644 --- a/htdocs/product/admin/product.php +++ b/htdocs/product/admin/product.php @@ -27,7 +27,7 @@ * \brief Setup page of product 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/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formbarcode.class.php'; diff --git a/htdocs/product/admin/product_extrafields.php b/htdocs/product/admin/product_extrafields.php index 9018220355a66d7bfff5a16ab541d9e18fedd782..7df63282be0270c671f9c2bea1a7b4d013835fa1 100755 --- a/htdocs/product/admin/product_extrafields.php +++ b/htdocs/product/admin/product_extrafields.php @@ -24,7 +24,7 @@ * \brief Page to setup extra fields of third party */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'; @@ -54,7 +54,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/product/admin/product_tools.php b/htdocs/product/admin/product_tools.php index c67c0b49209489ca0f1767e29bea4300d235bc88..7afe44418e92c7beb17f4d8ffb3fafb2d07490a0 100644 --- a/htdocs/product/admin/product_tools.php +++ b/htdocs/product/admin/product_tools.php @@ -21,7 +21,7 @@ * \brief Setup page of product 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/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; diff --git a/htdocs/product/ajax/products.php b/htdocs/product/ajax/products.php index 482ccb2cb4c3508ff0897cb9c66cb710e6fb18d5..9a8f3b87f3de3f6f5578cf80c88e5dd7c825ebed 100644 --- a/htdocs/product/ajax/products.php +++ b/htdocs/product/ajax/products.php @@ -30,7 +30,7 @@ if (! defined('NOREQUIRESOC')) define('NOREQUIRESOC','1'); if (! defined('NOCSRFCHECK')) define('NOCSRFCHECK','1'); if (empty($_GET['keysearch']) && ! defined('NOREQUIREHTML')) define('NOREQUIREHTML','1'); -require('../../main.inc.php'); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.form.class.php'; $langs->load("products"); diff --git a/htdocs/product/composition/fiche.php b/htdocs/product/composition/fiche.php index ff2e42c74604a480a5dcb0900c2800e38ebefd98..9c365c950e8f1b422e9836fa332919d7753887da 100644 --- a/htdocs/product/composition/fiche.php +++ b/htdocs/product/composition/fiche.php @@ -26,7 +26,7 @@ * \brief Page de la fiche produit */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; diff --git a/htdocs/product/document.php b/htdocs/product/document.php index fef6bb8f67a236d99a76695cd43ad86601e4e9ad..f6d1c8156d01fdf8d6083a4418ef539211edae8b 100755 --- a/htdocs/product/document.php +++ b/htdocs/product/document.php @@ -25,7 +25,7 @@ * \brief Page des documents joints sur les produits */ -require('../main.inc.php'); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index e9c4b071ba94fbf1564d79817acb94655751bcf8..212d10c5c70fe30d06afb83a82d44550f53db14d 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -27,7 +27,7 @@ * \brief Page to show product */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/canvas.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/html.formproduct.class.php'; diff --git a/htdocs/product/fournisseurs.php b/htdocs/product/fournisseurs.php index 8d6650f0b5bedf85612f3fab1ac5ac97512222b4..b97d43dba107d9234b77521f7edc3521aa427ba1 100644 --- a/htdocs/product/fournisseurs.php +++ b/htdocs/product/fournisseurs.php @@ -26,7 +26,7 @@ * \brief Page of tab suppliers for products */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.product.class.php'; diff --git a/htdocs/product/index.php b/htdocs/product/index.php index f35f1de91982a664b2b0fa304f2bcc078b923be6..d30303f91f7449049e3c31c26ccd179024b1c140 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -23,7 +23,7 @@ * \brief Page accueil des produits et services */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; $type=isset($_GET["type"])?$_GET["type"]:(isset($_POST["type"])?$_POST["type"]:''); diff --git a/htdocs/product/liste.php b/htdocs/product/liste.php index f4f0d78ec9d5b51db0a3fa9055a6678863c74d6d..1f0c7ebaf97b2ff3970700dffc358c77d61dab0e 100644 --- a/htdocs/product/liste.php +++ b/htdocs/product/liste.php @@ -23,7 +23,7 @@ * \brief Page to list products and services */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.product.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; diff --git a/htdocs/product/photos.php b/htdocs/product/photos.php index 75dae32c827924fbdcb37f59aebda2a7312008ab..803485857b8dfe01193eb08bacf81e1e82db3f14 100644 --- a/htdocs/product/photos.php +++ b/htdocs/product/photos.php @@ -24,7 +24,7 @@ * \brief Onglet photos de la fiche produit */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php'; diff --git a/htdocs/product/popuprop.php b/htdocs/product/popuprop.php index c05ce91b503bc330b99235df34bc1e55b8e5bb44..36aa1c1c4135a864859f9911846b0a191a64959a 100644 --- a/htdocs/product/popuprop.php +++ b/htdocs/product/popuprop.php @@ -24,7 +24,7 @@ * \brief Liste des produits/services par popularite */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; //Required to translate NbOfProposals diff --git a/htdocs/product/price.php b/htdocs/product/price.php index 1bb86e5dd52c0600ed22dbb4c9266e1660af5d8a..724b13a0467b6280e12eef698358dfb1d8368801 100644 --- a/htdocs/product/price.php +++ b/htdocs/product/price.php @@ -25,7 +25,7 @@ * \brief Page to show product prices */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; diff --git a/htdocs/product/reassort.php b/htdocs/product/reassort.php index 759fe2a49c4ccfa3a5e23878bd88742f1cb978f9..0fe19be03fb6d246ec4d7ba58e7e5d0a759e7d63 100644 --- a/htdocs/product/reassort.php +++ b/htdocs/product/reassort.php @@ -23,7 +23,7 @@ * \brief Page to list stocks */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; require_once DOL_DOCUMENT_ROOT.'/categories/class/categorie.class.php'; diff --git a/htdocs/product/stats/commande.php b/htdocs/product/stats/commande.php index 7d5cf232b0b1cff86ede9b28178ea5d091def6c9..7541ab43777648225f0b052083b1b930c9383d82 100644 --- a/htdocs/product/stats/commande.php +++ b/htdocs/product/stats/commande.php @@ -23,7 +23,7 @@ * \brief Page des stats des commandes clients pour un produit */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; diff --git a/htdocs/product/stats/commande_fournisseur.php b/htdocs/product/stats/commande_fournisseur.php index 55752d9c4f9b1dda2b3ef56ce6091cf6a8ef3485..b4a4df4163726a0364b072c9ab76a79cb5c5cfe3 100644 --- a/htdocs/product/stats/commande_fournisseur.php +++ b/htdocs/product/stats/commande_fournisseur.php @@ -23,7 +23,7 @@ * \brief Page des stats des commandes fournisseurs pour un produit */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/commande/class/commande.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; diff --git a/htdocs/product/stats/contrat.php b/htdocs/product/stats/contrat.php index d2c10b90d0aa5d3ca4da3431b861c74443d01f6f..7f1424705c9443773638f2c859bf2725e7212c3f 100644 --- a/htdocs/product/stats/contrat.php +++ b/htdocs/product/stats/contrat.php @@ -23,7 +23,7 @@ * \brief Page des stats des contrats pour un produit */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; diff --git a/htdocs/product/stats/facture.php b/htdocs/product/stats/facture.php index 2f580ad9f20d7e0368929d8ddead35b92190b74d..2492e52f9dcfe89a8685b3db1cf99f853ff44ac0 100644 --- a/htdocs/product/stats/facture.php +++ b/htdocs/product/stats/facture.php @@ -23,7 +23,7 @@ * \brief Page des stats des factures clients pour un produit */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.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/product/stats/facture_fournisseur.php b/htdocs/product/stats/facture_fournisseur.php index 5ac94b768f34f0a16b1d15781dbbdaacdf39564f..b34bfb472ec8bebb72f914b90911041d78fb0f38 100644 --- a/htdocs/product/stats/facture_fournisseur.php +++ b/htdocs/product/stats/facture_fournisseur.php @@ -23,7 +23,7 @@ * \brief Page des stats des factures fournisseurs pour un produit */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; diff --git a/htdocs/product/stats/fiche.php b/htdocs/product/stats/fiche.php index c3b6c341c92a91028556a23d02a98c8d65bee2fb..1cb107a3ff7df6d2eccd8882a4cba21ba1465f37 100644 --- a/htdocs/product/stats/fiche.php +++ b/htdocs/product/stats/fiche.php @@ -24,7 +24,7 @@ * \brief Page of product statistics */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php'; diff --git a/htdocs/product/stats/propal.php b/htdocs/product/stats/propal.php index 3378d7070cf8a1a3076bb41f9ce159ff913a5054..c597566eac6d7e9a00747b86f5358a23fadb103d 100644 --- a/htdocs/product/stats/propal.php +++ b/htdocs/product/stats/propal.php @@ -24,7 +24,7 @@ */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; diff --git a/htdocs/product/stock/fiche-valo.php b/htdocs/product/stock/fiche-valo.php index f7e53d25c29475d75f5831b06e41743f54eb44dd..ef79496af20f1c9a207ca356f67624902fd671c2 100644 --- a/htdocs/product/stock/fiche-valo.php +++ b/htdocs/product/stock/fiche-valo.php @@ -22,7 +22,7 @@ * \brief Page fiche de valorisation du stock dans l'entrepot */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/stock.lib.php'; diff --git a/htdocs/product/stock/fiche.php b/htdocs/product/stock/fiche.php index 4685f06ac999bcf9cf916342050adce9ce6eb948..b748d03069b5bfa0bf1581e972c01f27ef15034e 100644 --- a/htdocs/product/stock/fiche.php +++ b/htdocs/product/stock/fiche.php @@ -24,7 +24,7 @@ * \brief Page fiche entrepot */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/stock.lib.php'; diff --git a/htdocs/product/stock/index.php b/htdocs/product/stock/index.php index a2a6f1706810b5cabdfc35fa544fe8d3a04a4a11..4eca0b8c1b67722c084ca81bc9fbca6508bcdf9c 100644 --- a/htdocs/product/stock/index.php +++ b/htdocs/product/stock/index.php @@ -24,7 +24,7 @@ * \brief Home page of stock area */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php'; $langs->load("stocks"); diff --git a/htdocs/product/stock/info.php b/htdocs/product/stock/info.php index 708ac79ff12f350dde17e3a16e3fea26018433a0..46e13daee1f0bce2065054440b8ac9be4a6178e2 100644 --- a/htdocs/product/stock/info.php +++ b/htdocs/product/stock/info.php @@ -21,7 +21,7 @@ * \brief Page des informations d'un entrepot */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/stock.lib.php'; diff --git a/htdocs/product/stock/liste.php b/htdocs/product/stock/liste.php index be060cd6e1b8b0290bd2d6e325e99886d0ca6b87..0f7ae3ae69bfec1c339160a974abead18f73a4cf 100644 --- a/htdocs/product/stock/liste.php +++ b/htdocs/product/stock/liste.php @@ -23,7 +23,7 @@ * \brief Page liste des stocks */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php'; $langs->load("stocks"); diff --git a/htdocs/product/stock/mouvement.php b/htdocs/product/stock/mouvement.php index d06dda1fce2900a4d8bb35938e37fcdd52cb9915..b9fa376ff67644fa0777ecf90ba8f63ca83968a9 100644 --- a/htdocs/product/stock/mouvement.php +++ b/htdocs/product/stock/mouvement.php @@ -23,7 +23,7 @@ * \brief Page to list stock movements */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; diff --git a/htdocs/product/stock/product.php b/htdocs/product/stock/product.php index 517cce1136b1d5eff966b5870cc014d073043a21..23e884c2e4a802d97513f105a6fde86ce1fac5b5 100644 --- a/htdocs/product/stock/product.php +++ b/htdocs/product/stock/product.php @@ -25,7 +25,7 @@ * \brief Page to list detailed stock of a product */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; diff --git a/htdocs/product/stock/valo.php b/htdocs/product/stock/valo.php index e4c174af66f41549070600f2677a91c89a8c8592..741012ad3485669daef376e529f3378cae1e2a67 100644 --- a/htdocs/product/stock/valo.php +++ b/htdocs/product/stock/valo.php @@ -23,7 +23,7 @@ * \brief Page with stock values */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/product/stock/class/entrepot.class.php'; $langs->load("stocks"); diff --git a/htdocs/product/traduction.php b/htdocs/product/traduction.php index a2e353d1aa1e31045acb309e766f321133f5a09b..ac85a45023151434f13129afea6c2ee25aaedd2a 100644 --- a/htdocs/product/traduction.php +++ b/htdocs/product/traduction.php @@ -24,7 +24,7 @@ * \brief Page de traduction des produits */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; diff --git a/htdocs/projet/contact.php b/htdocs/projet/contact.php index 67099a9b3034941eaa72f270d3d2c7cee6ec40dd..213cc3f2e4a75aa9a1b923a8583d3d2b5399eb0e 100644 --- a/htdocs/projet/contact.php +++ b/htdocs/projet/contact.php @@ -22,7 +22,7 @@ * \brief Onglet de gestion des contacts du projet */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php'; diff --git a/htdocs/projet/document.php b/htdocs/projet/document.php index c62c9cf652a6d97901d934155495ca2a9b8d9888..6c9565969797bc079800acb0a00d364f8dd59546 100644 --- a/htdocs/projet/document.php +++ b/htdocs/projet/document.php @@ -22,7 +22,7 @@ * \brief Page de gestion des documents attachees a un projet */ -require('../main.inc.php'); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; diff --git a/htdocs/projet/element.php b/htdocs/projet/element.php index 07488f9cfccde505ab2424c3c19300e184d0b7c9..ee236837a3ef1ccf84b9adfdf94f45708fb17b33 100644 --- a/htdocs/projet/element.php +++ b/htdocs/projet/element.php @@ -24,7 +24,7 @@ * \brief Page of project referrers */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php'; if ($conf->propal->enabled) require_once DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php'; diff --git a/htdocs/projet/fiche.php b/htdocs/projet/fiche.php index c9c4ac3a7df56bd9ea681fb4f27a218a882e0ded..4c183a409c5d45ec6a0e89ef794841540a21d99f 100644 --- a/htdocs/projet/fiche.php +++ b/htdocs/projet/fiche.php @@ -23,7 +23,7 @@ * \brief Project card */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/task.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php'; diff --git a/htdocs/projet/index.php b/htdocs/projet/index.php index c4c93881085b878cc82144891ed25bfd7cc15c68..4ff4394e9953db707a2fc01c654f3999f11fa32f 100644 --- a/htdocs/projet/index.php +++ b/htdocs/projet/index.php @@ -23,7 +23,7 @@ * \brief Main project home page */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php'; diff --git a/htdocs/projet/liste.php b/htdocs/projet/liste.php index d70992b11d9763504e5cbba9353ad13c86eb85c6..9795b61f6c1f8990df6c26564483383bfafc7a9f 100644 --- a/htdocs/projet/liste.php +++ b/htdocs/projet/liste.php @@ -24,7 +24,7 @@ * \brief Page to list projects */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; $langs->load('projects'); diff --git a/htdocs/projet/note.php b/htdocs/projet/note.php index db5a0929d9d8894686f2ab986a619645f33d03c0..350e1050696d66d9451e522d78e50b26e34fb42b 100644 --- a/htdocs/projet/note.php +++ b/htdocs/projet/note.php @@ -22,7 +22,7 @@ * \brief Fiche d'information sur un projet */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php'; diff --git a/htdocs/projet/tasks/document.php b/htdocs/projet/tasks/document.php index c29219a6a057042695efbe0750aa873241b5acf4..3e9e77415500f5d816c0325704037d1fb955294e 100644 --- a/htdocs/projet/tasks/document.php +++ b/htdocs/projet/tasks/document.php @@ -23,7 +23,7 @@ * \brief Page de gestion des documents attachees a une tache d'un projet */ -require('../../main.inc.php'); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/task.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php'; diff --git a/htdocs/projet/tasks/time.php b/htdocs/projet/tasks/time.php index c3b265947e86207cf4ae92323ed0292488afffb1..4b658f162b1b9e0468bbdc2fc7114c89ff60087f 100644 --- a/htdocs/projet/tasks/time.php +++ b/htdocs/projet/tasks/time.php @@ -24,7 +24,7 @@ * \brief Page to add new time spent on a task */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/project.class.php'; require_once DOL_DOCUMENT_ROOT.'/projet/class/task.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/project.lib.php'; diff --git a/htdocs/public/agenda/agendaexport.php b/htdocs/public/agenda/agendaexport.php index ce55adec17c0d65f83115c525f7af6b2b06c8633..d2c3eb24a7180dc1a4071d921286d520019eddca 100644 --- a/htdocs/public/agenda/agendaexport.php +++ b/htdocs/public/agenda/agendaexport.php @@ -49,7 +49,7 @@ function llxHeaderVierge() { print '<html><title>Export agenda cal</title><body> */ function llxFooterVierge() { print '</body></html>'; } -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php'; // Security check diff --git a/htdocs/public/agenda/index.php b/htdocs/public/agenda/index.php index 272dfb4385b19506e1cc15165d5bb5a04927394a..260c783ec7571184c3d11fc58e30b7108fdb3257 100644 --- a/htdocs/public/agenda/index.php +++ b/htdocs/public/agenda/index.php @@ -22,7 +22,7 @@ * \author Laurent Destailleur */ -require("../../master.inc.php"); +require '../../master.inc.php'; header("Location: ".DOL_URL_ROOT.'/public/error-404.php'); diff --git a/htdocs/public/demo/index.php b/htdocs/public/demo/index.php index f53e2551ba28ba9feab8616bbbfb6409e5401267..485d2d032916a6e924164f3608cb26de11a60eaa 100644 --- a/htdocs/public/demo/index.php +++ b/htdocs/public/demo/index.php @@ -27,7 +27,7 @@ define("NOLOGIN",1); // This means this output page does not require to be logged. define("NOCSRFCHECK",1); // We accept to go on this page from external web site. -require("../../main.inc.php"); +require '../../main.inc.php'; $langs->load("main"); $langs->load("install"); diff --git a/htdocs/public/donations/donateurs_code.php b/htdocs/public/donations/donateurs_code.php index 633e7e8b550fba7110418bddc21eb87ac57ed635..c21daf2ce9e6407b89384b96785241b66f8037f6 100644 --- a/htdocs/public/donations/donateurs_code.php +++ b/htdocs/public/donations/donateurs_code.php @@ -38,7 +38,7 @@ function llxHeaderVierge() { print '<html><title>Export agenda cal</title><body> */ function llxFooterVierge() { print '</body></html>'; } -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT .'/compta/dons/class/class/don.class.php'; // Security check diff --git a/htdocs/public/donations/index.php b/htdocs/public/donations/index.php index 2aaf1de030e43032a7c93d5efac2381b20ce82ec..bb79f97d90dfcebb5d20f7b99cbe0d0cfc16d442 100644 --- a/htdocs/public/donations/index.php +++ b/htdocs/public/donations/index.php @@ -22,7 +22,7 @@ * \author Laurent Destailleur */ -require("../../master.inc.php"); +require '../../master.inc.php'; header("Location: ".DOL_URL_ROOT.'/public/error-404.php'); diff --git a/htdocs/public/donations/therm.php b/htdocs/public/donations/therm.php index cce9756eff0cc1974e128c85615a119553bfa42e..c8bdf5b78c1eb30b86e20d9674307533786d1fd7 100644 --- a/htdocs/public/donations/therm.php +++ b/htdocs/public/donations/therm.php @@ -25,7 +25,7 @@ define("NOLOGIN",1); // This means this output page does not require to be logged. define("NOCSRFCHECK",1); // We accept to go on this page from external web site. -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php'; require_once DOL_DOCUMENT_ROOT.'/compta/dons/class/don.class.php'; diff --git a/htdocs/public/emailing/mailing-read.php b/htdocs/public/emailing/mailing-read.php index 884509eebde1d4d3d948b495cf5c4c7f699bfb1c..6a17d7ace31ade5bd9d7642314c439b4933d47f4 100644 --- a/htdocs/public/emailing/mailing-read.php +++ b/htdocs/public/emailing/mailing-read.php @@ -28,7 +28,7 @@ define("NOLOGIN",1); // This means this output page does not require to be logged. define("NOCSRFCHECK",1); // We accept to go on this page from external web site. -require("../../main.inc.php"); +require '../../main.inc.php'; $id=GETPOST('tag'); diff --git a/htdocs/public/emailing/mailing-unsubscribe.php b/htdocs/public/emailing/mailing-unsubscribe.php index a5cfb54883dd0fa368a25224e94ae5c89b12a907..db91864e3f6d07bdc209f9a1942ee83c9e991b47 100644 --- a/htdocs/public/emailing/mailing-unsubscribe.php +++ b/htdocs/public/emailing/mailing-unsubscribe.php @@ -28,7 +28,7 @@ define("NOLOGIN",1); // This means this output page does not require to be logged. define("NOCSRFCHECK",1); // We accept to go on this page from external web site. -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/lib/company.lib.php'; global $user, $conf, $langs; diff --git a/htdocs/public/index.php b/htdocs/public/index.php index aeb6f2c8050d38a8638d34cf0eaaff5e0b89cbfa..dc5ac64e4057a52a3a7b489c5c893c502f5c99f8 100644 --- a/htdocs/public/index.php +++ b/htdocs/public/index.php @@ -22,7 +22,7 @@ * \author Laurent Destailleur */ -require("../master.inc.php"); +require '../master.inc.php'; header("Location: ".DOL_URL_ROOT.'/public/error-404.php'); diff --git a/htdocs/public/members/index.php b/htdocs/public/members/index.php index d257412fedcbe9264c7b90dfc9be89eeaa31e086..b55bfcde9ad581efd140e3a38dfc5629a9e3a72b 100644 --- a/htdocs/public/members/index.php +++ b/htdocs/public/members/index.php @@ -22,7 +22,7 @@ * \author Laurent Destailleur */ -require("../../master.inc.php"); +require '../../master.inc.php'; header("Location: ".DOL_URL_ROOT.'/public/error-404.php'); diff --git a/htdocs/public/members/new.php b/htdocs/public/members/new.php index 1ac10ceb0c659965b1b01535923ba5c26fff7d1f..70ac3033c1dd8e4f9962d25294cae04243c2c487 100644 --- a/htdocs/public/members/new.php +++ b/htdocs/public/members/new.php @@ -45,7 +45,7 @@ if (is_int($entity)) define("DOLENTITY", $entity); } -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'; require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'; diff --git a/htdocs/public/members/public_card.php b/htdocs/public/members/public_card.php index 2ce60c9d86923bc8b865f49178136b8761b70494..d9b6c1c58d3dc5b561fb4f18f76a43dc2d3b9e87 100644 --- a/htdocs/public/members/public_card.php +++ b/htdocs/public/members/public_card.php @@ -34,7 +34,7 @@ if (is_int($entity)) define("DOLENTITY", $entity); } -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'; require_once DOL_DOCUMENT_ROOT.'/core/class/extrafields.class.php'; diff --git a/htdocs/public/members/public_list.php b/htdocs/public/members/public_list.php index 42a47f789f4b14f2b1a11442abfb8d4d4aa79198..7cfe37c5067a66e72420d87156ac60bd3eb48e27 100644 --- a/htdocs/public/members/public_list.php +++ b/htdocs/public/members/public_list.php @@ -34,7 +34,7 @@ if (is_int($entity)) define("DOLENTITY", $entity); } -require("../../main.inc.php"); +require '../../main.inc.php'; // Security check if (empty($conf->adherent->enabled)) accessforbidden('',1,1,1); diff --git a/htdocs/public/paybox/index.php b/htdocs/public/paybox/index.php index afc81b401afab41c63197b457d40567b6329208a..b7992c42335187d309e861ddb2fb967a908da48c 100644 --- a/htdocs/public/paybox/index.php +++ b/htdocs/public/paybox/index.php @@ -22,7 +22,7 @@ * \author Laurent Destailleur */ -require("../../master.inc.php"); +require '../../master.inc.php'; header("Location: ".DOL_URL_ROOT.'/public/error-404.php'); diff --git a/htdocs/public/paybox/newpayment.php b/htdocs/public/paybox/newpayment.php index 889ba702a682c58d3af05b9dc2767b3e3cd1ac79..febd6130f67733bc62519e07e33e386ed3805a60 100644 --- a/htdocs/public/paybox/newpayment.php +++ b/htdocs/public/paybox/newpayment.php @@ -27,7 +27,7 @@ define("NOLOGIN",1); // This means this output page does not require to be logged. define("NOCSRFCHECK",1); // We accept to go on this page from external web site. -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/paybox/lib/paybox.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; diff --git a/htdocs/public/paybox/paymentko.php b/htdocs/public/paybox/paymentko.php index 6148182e0ff3fc5ed62be33b0962b8613a7f54b8..ca7444494a210f0ccfbdbc9ab7f0b54335570483 100644 --- a/htdocs/public/paybox/paymentko.php +++ b/htdocs/public/paybox/paymentko.php @@ -26,7 +26,7 @@ define("NOLOGIN",1); // This means this output page does not require to be logged. define("NOCSRFCHECK",1); // We accept to go on this page from external web site. -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/paybox/lib/paybox.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; diff --git a/htdocs/public/paybox/paymentok.php b/htdocs/public/paybox/paymentok.php index 53c1214ef044da80645138ea1e66b145ce36b498..5763dd3f3b080e76a9927ebf3bd33963b2c3f4e6 100644 --- a/htdocs/public/paybox/paymentok.php +++ b/htdocs/public/paybox/paymentok.php @@ -26,7 +26,7 @@ define("NOLOGIN",1); // This means this output page does not require to be logged. define("NOCSRFCHECK",1); // We accept to go on this page from external web site. -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/paybox/lib/paybox.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; diff --git a/htdocs/public/paypal/index.php b/htdocs/public/paypal/index.php index d0d3c44daa93994872fe0a6330130cce28f67029..072500943e2951bc85de13090241112ce0b58397 100755 --- a/htdocs/public/paypal/index.php +++ b/htdocs/public/paypal/index.php @@ -22,7 +22,7 @@ * \author Laurent Destailleur */ -require("../../master.inc.php"); +require '../../master.inc.php'; header("Location: ".DOL_URL_ROOT.'/public/error-404.php'); diff --git a/htdocs/public/paypal/newpayment.php b/htdocs/public/paypal/newpayment.php index a8a9116e16c8dac5db3c5f0971c9fa11189b228b..acea9f714d0d9cedfe7f6b08a7818b2bca7ecfbf 100755 --- a/htdocs/public/paypal/newpayment.php +++ b/htdocs/public/paypal/newpayment.php @@ -34,7 +34,7 @@ if (is_int($entity)) define("DOLENTITY", $entity); } -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/paypal/lib/paypal.lib.php'; require_once DOL_DOCUMENT_ROOT.'/paypal/lib/paypalfunctions.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; diff --git a/htdocs/public/paypal/paymentko.php b/htdocs/public/paypal/paymentko.php index 44d3b69e3c6e8420427236f901e5311160017346..29d00042db8fc6ef3a45a2ce13247943075747ed 100755 --- a/htdocs/public/paypal/paymentko.php +++ b/htdocs/public/paypal/paymentko.php @@ -36,7 +36,7 @@ if (is_int($entity)) define("DOLENTITY", $entity); } -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/paypal/lib/paypal.lib.php'; require_once DOL_DOCUMENT_ROOT.'/paypal/lib/paypalfunctions.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; diff --git a/htdocs/public/paypal/paymentok.php b/htdocs/public/paypal/paymentok.php index a41e0d90e0e8039c4f72a360ace0f5df28ffc841..768bc4f25785941d00250078ed6d2281747e735d 100755 --- a/htdocs/public/paypal/paymentok.php +++ b/htdocs/public/paypal/paymentok.php @@ -36,7 +36,7 @@ if (is_int($entity)) define("DOLENTITY", $entity); } -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/paypal/lib/paypal.lib.php'; require_once DOL_DOCUMENT_ROOT.'/paypal/lib/paypalfunctions.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; diff --git a/htdocs/societe/admin/societe.php b/htdocs/societe/admin/societe.php index 0b5a8a9ebbe0ced51eea28c558933facef4188a4..6b7b4fdb09d2f523c8664cddaf2b7f36e8668dfc 100644 --- a/htdocs/societe/admin/societe.php +++ b/htdocs/societe/admin/societe.php @@ -25,7 +25,7 @@ * \brief Third party 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/company.lib.php'; diff --git a/htdocs/societe/admin/societe_extrafields.php b/htdocs/societe/admin/societe_extrafields.php index 7310a20e4b4c54f4da48451ee966bd4a11290cca..5149bcee1acb9c4bea288f0c78200b4fc572c712 100755 --- a/htdocs/societe/admin/societe_extrafields.php +++ b/htdocs/societe/admin/societe_extrafields.php @@ -23,7 +23,7 @@ * \brief Page to setup extra fields of 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/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/societe/agenda.php b/htdocs/societe/agenda.php index e76652c4743e2c9d49482822a279b7de8e934123..d25245c7288da553445ffeaf90483fd826d5722c 100644 --- a/htdocs/societe/agenda.php +++ b/htdocs/societe/agenda.php @@ -26,7 +26,7 @@ * \brief Page of third party events */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php'; diff --git a/htdocs/societe/ajaxcompanies.php b/htdocs/societe/ajaxcompanies.php index 49b49988eafaed4aed9c0300f9a77a2f5c9ac4cd..b960eb0b087c4e2e2c4476dbff1808301bc2f3d2 100644 --- a/htdocs/societe/ajaxcompanies.php +++ b/htdocs/societe/ajaxcompanies.php @@ -30,7 +30,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'; /* diff --git a/htdocs/societe/ajaxcountries.php b/htdocs/societe/ajaxcountries.php index ff79aaad0140d2871d0100117209e1f9f4a7f480..3afb95468b74090d261170a475fab147bd21c068 100644 --- a/htdocs/societe/ajaxcountries.php +++ b/htdocs/societe/ajaxcountries.php @@ -28,7 +28,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'; /* diff --git a/htdocs/societe/commerciaux.php b/htdocs/societe/commerciaux.php index dd4e5f285d13e82e826a53abcbc6f7ef26a6c859..efc39232b9b3383e1065e2601743be0c2873beee 100644 --- a/htdocs/societe/commerciaux.php +++ b/htdocs/societe/commerciaux.php @@ -23,7 +23,7 @@ * \brief Page of links to sales representatives */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; $langs->load("companies"); diff --git a/htdocs/societe/document.php b/htdocs/societe/document.php index f3b3dd27502280bb824a53c96908f9e8e7cb1167..f7b0744d98f27330dff2b44c324159be310ade78 100644 --- a/htdocs/societe/document.php +++ b/htdocs/societe/document.php @@ -24,7 +24,7 @@ * \ingroup societe */ -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/files.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php'; diff --git a/htdocs/societe/index.php b/htdocs/societe/index.php index 495a36b7672d1b5d7e1783f9a3458b38d3f170cc..410aba47aa1d9e843df3f1a84c3b5da4073bf8b0 100644 --- a/htdocs/societe/index.php +++ b/htdocs/societe/index.php @@ -23,7 +23,7 @@ * \brief Home page for third parties area */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; $langs->load("companies"); diff --git a/htdocs/societe/info.php b/htdocs/societe/info.php index 199c755e4360246aa616547fb84a44887b6055af..28d626c37f2c53b42f4d9862a06bf4be3b6be0d8 100644 --- a/htdocs/societe/info.php +++ b/htdocs/societe/info.php @@ -23,7 +23,7 @@ * \brief Page des informations d'une societe */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; require_once DOL_DOCUMENT_ROOT.'/societe/class/societe.class.php'; diff --git a/htdocs/societe/lien.php b/htdocs/societe/lien.php index 3d754beff66102caea27474877d034cc2686497f..d30e344cd9dde4ab549ddfb2175a24660c37be4b 100644 --- a/htdocs/societe/lien.php +++ b/htdocs/societe/lien.php @@ -23,7 +23,7 @@ * \brief Page of links to other third parties */ -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'; diff --git a/htdocs/societe/note.php b/htdocs/societe/note.php index 7f51dddd177b1e45910ab114bbba10b95b99570c..00e1a182dfedd3fa56e038b487a7c0ec7f621c5c 100644 --- a/htdocs/societe/note.php +++ b/htdocs/societe/note.php @@ -24,7 +24,7 @@ * \ingroup societe */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/company.lib.php'; $action = GETPOST('action'); diff --git a/htdocs/societe/notify/fiche.php b/htdocs/societe/notify/fiche.php index 9235c7a2833d5010c488cac92001873ad8c20821..73a78eca50316d544cf349aedb02b79cd87ee11b 100644 --- a/htdocs/societe/notify/fiche.php +++ b/htdocs/societe/notify/fiche.php @@ -23,7 +23,7 @@ * \brief Tab for notifications of 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.'/contact/class/contact.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/triggers/interface_50_modNotification_Notification.class.php'; diff --git a/htdocs/societe/notify/index.php b/htdocs/societe/notify/index.php index 42aad61b93b27405f9ca524f86aa297ef7c9792c..b6f4b362234c53564cbbfdf4ada96e3b10ff164c 100644 --- a/htdocs/societe/notify/index.php +++ b/htdocs/societe/notify/index.php @@ -22,7 +22,7 @@ * \brief List of done notifications */ -require("../../main.inc.php"); +require '../../main.inc.php'; $langs->load("companies"); $langs->load("banks"); diff --git a/htdocs/societe/rib.php b/htdocs/societe/rib.php index c08b62d8b24316d759be183c320ec149f6f4259d..f17916c2e5b8e7c47cf0dd9d5455643725bd892d 100644 --- a/htdocs/societe/rib.php +++ b/htdocs/societe/rib.php @@ -24,7 +24,7 @@ * \brief BAN tab for companies */ -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/bank.lib.php'; require_once DOL_DOCUMENT_ROOT.'/societe/class/companybankaccount.class.php'; diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index d5e9341551adea27590b6eb6625bb7e2bc86d540..d9dc12faf5a4ec6938f5fa0239ee022b9e3a2ea5 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -27,7 +27,7 @@ * \brief Third party card page */ -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/images.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; diff --git a/htdocs/theme/phones/smartphone/tpl/menu.tpl.php b/htdocs/theme/phones/smartphone/tpl/menu.tpl.php index 9c3d53dbb1670ed0a16edea31ac396d694e8035c..0c96714ae103d256c9afce82dedbfb4bab3d7a53 100644 --- a/htdocs/theme/phones/smartphone/tpl/menu.tpl.php +++ b/htdocs/theme/phones/smartphone/tpl/menu.tpl.php @@ -20,7 +20,7 @@ top_httphead(); <!DOCTYPE html> <html> <?php -require('header.tpl.php'); +require 'header.tpl.php'; ?> <body> <script type="text/javascript"> diff --git a/htdocs/user/clicktodial.php b/htdocs/user/clicktodial.php index 6efaa0b58eb84d44a4a241ee5e48ec1a9acc81ed..3b3a43729b229e97bb18c0c5fb56408b0b709e06 100644 --- a/htdocs/user/clicktodial.php +++ b/htdocs/user/clicktodial.php @@ -22,7 +22,7 @@ * \brief Page for Click to dial datas */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php'; $langs->load("users"); diff --git a/htdocs/user/fiche.php b/htdocs/user/fiche.php index f5602894c655f4655a415876dd690f933842f929..150c37b1975a94440af14833beeaea7a721a8814 100644 --- a/htdocs/user/fiche.php +++ b/htdocs/user/fiche.php @@ -26,7 +26,7 @@ * \brief Tab of user card */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php'; require_once DOL_DOCUMENT_ROOT.'/user/class/usergroup.class.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; diff --git a/htdocs/user/group/fiche.php b/htdocs/user/group/fiche.php index b370c8b5d796d4e2122f9bf771469192269ce743..48466bc66497f5b541217646b3eb8ab316d114b1 100644 --- a/htdocs/user/group/fiche.php +++ b/htdocs/user/group/fiche.php @@ -23,7 +23,7 @@ * \brief Onglet groupes utilisateurs */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/user/class/usergroup.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php'; if(! empty($conf->multicompany->enabled)) dol_include_once("/multicompany/class/actions_multicompany.class.php"); diff --git a/htdocs/user/group/index.php b/htdocs/user/group/index.php index 33c7952a158c1c3ffaf6c66eb187994befdbb318..002e099c397effe0271bed80e9cbd5d29e70d477 100644 --- a/htdocs/user/group/index.php +++ b/htdocs/user/group/index.php @@ -24,7 +24,7 @@ * \brief Page of user groups */ -require("../../main.inc.php"); +require '../../main.inc.php'; if (! empty($conf->global->MAIN_USE_ADVANCED_PERMS)) { diff --git a/htdocs/user/group/ldap.php b/htdocs/user/group/ldap.php index cd9f9f082833c4ab9ea41889c3938d6833e26a4c..5f64929c5a5e5940246dd312d0c70bfdb5ede608 100644 --- a/htdocs/user/group/ldap.php +++ b/htdocs/user/group/ldap.php @@ -22,7 +22,7 @@ * \brief Page fiche LDAP groupe */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/user/class/usergroup.class.php'; require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php'; diff --git a/htdocs/user/group/perms.php b/htdocs/user/group/perms.php index de53928eda8db49c701d5d76ab0c11cf5ff1aa72..dd52a6b517a7d92fce49da53878be0de9da2425b 100644 --- a/htdocs/user/group/perms.php +++ b/htdocs/user/group/perms.php @@ -24,7 +24,7 @@ * \brief Onglet user et permissions de la fiche utilisateur */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/user/class/usergroup.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; diff --git a/htdocs/user/home.php b/htdocs/user/home.php index 234fc3191de3dfb96eace2ce1138dfa28a7cddb0..a98a7a3b5f8fc85c8be33d29959ec161079d868a 100644 --- a/htdocs/user/home.php +++ b/htdocs/user/home.php @@ -21,7 +21,7 @@ * \brief Home page of users and groups management */ -require("../main.inc.php"); +require '../main.inc.php'; if (! $user->rights->user->user->lire && ! $user->admin) { diff --git a/htdocs/user/index.php b/htdocs/user/index.php index b6ed67baece941f3948ac9af57bd151775ad9924..5aae43c145cefff44d2a74d6c9226ab99b953f80 100644 --- a/htdocs/user/index.php +++ b/htdocs/user/index.php @@ -23,7 +23,7 @@ * \brief Page of users */ -require("../main.inc.php"); +require '../main.inc.php'; if(! empty($conf->multicompany->enabled)) dol_include_once("/multicompany/class/actions_multicompany.class.php"); diff --git a/htdocs/user/info.php b/htdocs/user/info.php index aed9216cd2e71ad8f8b6e7c4fd0fd3b06db3648f..9ac58e67515efb8d01b018ba5bea5515ce9d9228 100644 --- a/htdocs/user/info.php +++ b/htdocs/user/info.php @@ -22,7 +22,7 @@ * \brief Page des informations d'un utilisateur */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php'; require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php'; diff --git a/htdocs/user/ldap.php b/htdocs/user/ldap.php index b973251a30c7ccc349e91b899352c385b9b7f60b..12324d5e608e3ffeffcc23d2b16dbec6caec4234 100644 --- a/htdocs/user/ldap.php +++ b/htdocs/user/ldap.php @@ -22,7 +22,7 @@ * \brief Page fiche LDAP utilisateur */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.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/user/note.php b/htdocs/user/note.php index 606196d4265bb28023314365d7647eca34dd0157..ab2c376e621f87cfb0c8ae84da5e45a3523fee97 100644 --- a/htdocs/user/note.php +++ b/htdocs/user/note.php @@ -23,7 +23,7 @@ * \brief Fiche de notes sur un utilisateur Dolibarr */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php'; require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php'; diff --git a/htdocs/user/param_ihm.php b/htdocs/user/param_ihm.php index dbd4f300380c15a01ba070aa87acb03f8f26f667..76afed6ebd7a15ccc3c713f851771259066c50e0 100644 --- a/htdocs/user/param_ihm.php +++ b/htdocs/user/param_ihm.php @@ -21,7 +21,7 @@ * \brief Page to show user setup for display */ -require("../main.inc.php"); +require '../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php'; diff --git a/htdocs/user/passwordforgotten.php b/htdocs/user/passwordforgotten.php index fd3bf89f564f0057ac2e27232b227838fefa453b..630e89febe58d8f2d00454f352da15b13664cce7 100644 --- a/htdocs/user/passwordforgotten.php +++ b/htdocs/user/passwordforgotten.php @@ -24,7 +24,7 @@ define("NOLOGIN",1); // This means this output page does not require to be logged. -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/usergroups.lib.php'; if ($conf->ldap->enabled) require_once DOL_DOCUMENT_ROOT.'/core/class/ldap.class.php'; diff --git a/htdocs/user/perms.php b/htdocs/user/perms.php index 04f089029b3a56581d05234409d6d926848ffe66..af407a4f55566325257b60fe8a9927c113c04913 100644 --- a/htdocs/user/perms.php +++ b/htdocs/user/perms.php @@ -24,7 +24,7 @@ * \brief Onglet user et permissions de la fiche utilisateur */ -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/functions2.lib.php'; diff --git a/htdocs/viewimage.php b/htdocs/viewimage.php index 7b32ad84c949325a07524e556715784081678d1a..dfbc6cb25e4598ab451cd4465b0f4d6c9609bc9b 100644 --- a/htdocs/viewimage.php +++ b/htdocs/viewimage.php @@ -44,7 +44,7 @@ if ((isset($_GET["modulepart"]) && $_GET["modulepart"] == 'companylogo') && ! de */ function llxHeader() { } -require("./main.inc.php"); +require './main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php'; diff --git a/htdocs/webservices/admin/webservices.php b/htdocs/webservices/admin/webservices.php index 6f2112a50712b8709555fb4e762d3962523549c8..bc47a4a8be89862cc65a839f1545b9128203db50 100644 --- a/htdocs/webservices/admin/webservices.php +++ b/htdocs/webservices/admin/webservices.php @@ -23,7 +23,7 @@ * \brief Page to setup webservices module */ -require("../../main.inc.php"); +require '../../main.inc.php'; require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php'; $langs->load("admin");