Update modZapier.class.php

IMHO in this case is  *require_once*  instead of  *include_one*  more correct
This commit is contained in:
UT from dolibit 2022-09-09 10:36:08 +02:00 committed by GitHub
parent 9a09e0f304
commit f1a68d9272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,8 +13,9 @@
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <https://www.gnu.org/licenses/>.
*/ */
/** /**
* \defgroup zapier Module Zapier * \defgroup zapier Module Zapier
* \brief Zapier module descriptor. * \brief Zapier module descriptor.
@ -23,7 +24,8 @@
* \ingroup zapier * \ingroup zapier
* \brief Description and activation file for the module Zapier * \brief Description and activation file for the module Zapier
*/ */
include_once DOL_DOCUMENT_ROOT.'/core/modules/DolibarrModules.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/modules/DolibarrModules.class.php';
/** /**
* Description and activation class for module Zapier * Description and activation class for module Zapier