Skip to content
Snippets Groups Projects
Commit 696c7eb4 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: use require instead include_once

parent 5be523fa
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ function dol_dir_list($path, $types="all", $recursive=0, $filter="", $excludefil
{
if (! class_exists('HookManager')) {
// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
include_once DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
require DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php';
$hookmanager=new HookManager($db);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment