From 24eecb736c2ded6ca085d315e3d58f2631d876e5 Mon Sep 17 00:00:00 2001 From: Belle Aerni Date: Sat, 11 Nov 2023 09:55:03 -0800 Subject: [PATCH] Fix extension installation (#1815) --- src/modules/Extension/Service.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/Extension/Service.php b/src/modules/Extension/Service.php index 8daf7604a..356a679da 100644 --- a/src/modules/Extension/Service.php +++ b/src/modules/Extension/Service.php @@ -453,7 +453,7 @@ class Service implements InjectionAwareInterface switch ($type) { case \FOSSBilling\ExtensionManager::TYPE_MOD: - $destination = PATH_MODS . DIRECTORY_SEPARATOR . $id; + $destination = PATH_MODS . DIRECTORY_SEPARATOR . ucfirst($id); break; case \FOSSBilling\ExtensionManager::TYPE_THEME: @@ -465,7 +465,7 @@ class Service implements InjectionAwareInterface break; case \FOSSBilling\ExtensionManager::TYPE_PG: - $destination = PATH_LIBRARY . DIRECTORY_SEPARATOR . 'Payment' . DIRECTORY_SEPARATOR . 'Adapter' . DIRECTORY_SEPARATOR . $id; + $destination = PATH_LIBRARY . DIRECTORY_SEPARATOR . 'Payment' . DIRECTORY_SEPARATOR . 'Adapter' . DIRECTORY_SEPARATOR . ucfirst($id); break; }