diff --git a/htdocs/holiday/define_holiday.php b/htdocs/holiday/define_holiday.php index 4dcec831e65..2b66b8d1567 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 DOL_DOCUMENT_ROOT. '/holiday/common.inc.php'; +require '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 968876e2466..2110f51a323 100644 --- a/htdocs/holiday/fiche.php +++ b/htdocs/holiday/fiche.php @@ -22,7 +22,7 @@ * \brief Form and file creation of paid holiday. */ -require DOL_DOCUMENT_ROOT. '/holiday/common.inc.php'; +require '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 6052297ede1..171e0421b1a 100644 --- a/htdocs/holiday/index.php +++ b/htdocs/holiday/index.php @@ -23,7 +23,7 @@ * \brief List of holiday. */ -require DOL_DOCUMENT_ROOT. '/holiday/common.inc.php'; +require '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 70eb6049e74..aca1913e1d9 100644 --- a/htdocs/holiday/month_report.php +++ b/htdocs/holiday/month_report.php @@ -22,7 +22,7 @@ * \brief Monthly report of paid holiday. */ -require DOL_DOCUMENT_ROOT. '/holiday/common.inc.php'; +require '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 177dd2cc498..5d22451f52c 100644 --- a/htdocs/holiday/view_log.php +++ b/htdocs/holiday/view_log.php @@ -23,7 +23,7 @@ * \ingroup holiday */ -require DOL_DOCUMENT_ROOT. '/holiday/common.inc.php'; +require 'common.inc.php'; require_once DOL_DOCUMENT_ROOT. '/user/class/user.class.php'; // Protection if external user