mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-22 04:53:46 +09:00
uppercase first letter of service subservice name
Local tests did not failed of case sensitivity issue using virtualbox
This commit is contained in:
1 parent
e2a87064be
commit
a335e61876
1 file changed
+1
-1
@@ -124,7 +124,7 @@ class Box_Mod
|
||||
if(!$this->hasService($sub)) {
|
||||
throw new \Box_Exception('Module :mod does not have service class', array(':mod'=>$this->mod), 5898);
|
||||
}
|
||||
$class = 'Box\\Mod\\'.ucfirst($this->mod).'\\Service'.$sub;
|
||||
$class = 'Box\\Mod\\'.ucfirst($this->mod).'\\Service'.ucfirst($sub);
|
||||
$service = new $class();
|
||||
if(method_exists($service, 'setDi')) {
|
||||
$service->setDi($this->di);
|
||||
|
||||
Reference in new issue
Block a user