From 1b821578a47f05a6d22ccfceb57877590c3ba80b Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Fri, 2 Dec 2022 01:12:10 +0100 Subject: [PATCH] fix autoload --- _prepend.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_prepend.php b/_prepend.php index d016ad7..6f05384 100644 --- a/_prepend.php +++ b/_prepend.php @@ -14,8 +14,8 @@ if (!defined('DC_RC_PATH')) { return null; } -$d = __DIR__ . '/inc/'; - -Clearbricks::lib()->autoload(['dcPackman' => $d . 'class.dc.packman.php']); -Clearbricks::lib()->autoload(['libPackman' => $d . 'lib.packman.php']); -Clearbricks::lib()->autoload(['packmanFileZip' => $d . 'lib.packman.filezip.php']); +Clearbricks::lib()->autoload([ + 'dcPackman' => __DIR__ . '/inc/class.dc.packman.php', + 'libPackman' => __DIR__ . '/inc/lib.packman.php', + 'packmanFileZip' => __DIR__ . '/inc/lib.packman.filezip.php', +]);