fix autoload

This commit is contained in:
Jean-Christian Denis 2022-12-01 00:40:48 +01:00
parent b546df90eb
commit d5109b2f94
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -29,10 +29,12 @@ $filters = [
$d = __DIR__ . '/inc/';
Clearbricks::lib()->autoload(['libEPC' => $d . 'lib.epc.php']);
Clearbricks::lib()->autoload(['epcFilter' => $d . 'lib.epc.filter.php']);
Clearbricks::lib()->autoload(['epcRecords' => $d . 'lib.epc.records.php']);
Clearbricks::lib()->autoload(['adminEpcList' => $d . 'lib.epc.pager.php']);
Clearbricks::lib()->autoload([
'libEPC' => $d . 'lib.epc.php',
'epcFilter' => $d . 'lib.epc.filter.php',
'epcRecords' => $d . 'lib.epc.records.php',
'adminEpcList' => $d . 'lib.epc.pager.php',
]);
foreach ($filters as $f) {
Clearbricks::lib()->autoload(['epcFilter' . $f => $d . 'lib.epc.filters.php']);