diff --git a/htdocs/holiday/define_holiday.php b/htdocs/holiday/define_holiday.php index 2b66b8d1567..a37207eddaa 100644 --- a/htdocs/holiday/define_holiday.php +++ b/htdocs/holiday/define_holiday.php @@ -24,7 +24,7 @@ * \brief File that defines the balance of paid holiday of users. */ -require 'common.inc.php'; +include 'common.inc.php'; require_once DOL_DOCUMENT_ROOT. '/user/class/user.class.php'; // Protection if external user diff --git a/htdocs/holiday/fiche.php b/htdocs/holiday/fiche.php index 2110f51a323..6f32fff0b15 100644 --- a/htdocs/holiday/fiche.php +++ b/htdocs/holiday/fiche.php @@ -22,7 +22,7 @@ * \brief Form and file creation of paid holiday. */ -require 'common.inc.php'; +include 'common.inc.php'; require_once DOL_DOCUMENT_ROOT. '/core/class/html.form.class.php'; require_once DOL_DOCUMENT_ROOT. '/user/class/usergroup.class.php'; require_once DOL_DOCUMENT_ROOT. '/core/class/html.formfile.class.php'; diff --git a/htdocs/holiday/index.php b/htdocs/holiday/index.php index 171e0421b1a..61a6e4318df 100644 --- a/htdocs/holiday/index.php +++ b/htdocs/holiday/index.php @@ -23,7 +23,7 @@ * \brief List of holiday. */ -require 'common.inc.php'; +include 'common.inc.php'; require_once DOL_DOCUMENT_ROOT. '/core/class/html.form.class.php'; require_once DOL_DOCUMENT_ROOT. '/core/class/html.formother.class.php'; require_once DOL_DOCUMENT_ROOT. '/user/class/user.class.php'; diff --git a/htdocs/holiday/month_report.php b/htdocs/holiday/month_report.php index aca1913e1d9..36a3212c0d1 100644 --- a/htdocs/holiday/month_report.php +++ b/htdocs/holiday/month_report.php @@ -22,7 +22,7 @@ * \brief Monthly report of paid holiday. */ -require 'common.inc.php'; +include 'common.inc.php'; require_once DOL_DOCUMENT_ROOT.'/user/class/user.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.form.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php'; diff --git a/htdocs/holiday/view_log.php b/htdocs/holiday/view_log.php index 5d22451f52c..ffe000bf04d 100644 --- a/htdocs/holiday/view_log.php +++ b/htdocs/holiday/view_log.php @@ -23,7 +23,7 @@ * \ingroup holiday */ -require 'common.inc.php'; +include 'common.inc.php'; require_once DOL_DOCUMENT_ROOT. '/user/class/user.class.php'; // Protection if external user