Explorar o código

debug clientarea

andre %!s(int64=2) %!d(string=hai) anos
pai
achega
afba80457e
Modificáronse 2 ficheiros con 6 adicións e 11 borrados
  1. 0 8
      app/Http/Client/Home.php
  2. 6 3
      core/DependencyInjection/Container.php

+ 0 - 8
app/Http/Client/Home.php

@@ -23,14 +23,6 @@ class Home extends AbstractClientController
 
     public function index()
     {
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $this,
-            'Debug Home',
-            'Home starts here'
-        );
-
 
     if ($this->getWhmcsParamByKey('status') === 'Active')
         {

+ 6 - 3
core/DependencyInjection/Container.php

@@ -97,14 +97,17 @@ class Container extends \Illuminate\Container\Container
         $version8OrHigher = (new WhmcsVersionComparator)->isWVersionHigherOrEqual('8.0.0');
         if($version8OrHigher)
         {
+            $result = $this->resolve($abstract, $parameters);
+
             logModuleCall(
                 'kerioEmail',
                 __FUNCTION__,
                 $abstract,
-                'Debug Make',
-                $this
+                'Debug resolve',
+                $result
             );
-            return $this->resolve($abstract, $parameters);
+            return $result;
+//            return $this->resolve($abstract, $parameters);
         }
 
         $abstract = $this->getAlias($this->normalize($abstract));