ソースを参照

clean adminLink

andre 2 年 前
コミット
e6856bca66
1 ファイル変更2 行追加3 行削除
  1. 2 3
      app/Http/Actions/AdminLink.php

+ 2 - 3
app/Http/Actions/AdminLink.php

@@ -4,7 +4,6 @@ namespace ThurData\Servers\KerioEmail\App\Http\Actions;
 
 
 use ThurData\Servers\KerioEmail\Core\App\Controllers\Instances\AddonController;
-use ThurData\Servers\KerioEmail\App\Enums\Kerio;
 use function ThurData\Servers\KerioEmail\Core\Helper\di;
 
 /**
@@ -21,7 +20,7 @@ class AdminLink extends AddonController
     public function execute($params = null)
     {
         //todo add if required -.-
-        $code = '<a href="https://' . $host . ':' . Kerio::SECURE_PORT . '/admin/"Login to Admin</a>';
+
 //        $lang = di('lang');
 //
 //        $code = '
@@ -30,7 +29,7 @@ class AdminLink extends AddonController
 //		<input type="hidden" name="ZLoginPassword" value="' . $params["serverpassword"] . '" />
 //		<input type="submit" value="' . $lang->absoluteT('loginToKerioPanel') . '" />
 //		</form>';
-        return $code;
+//        return $code;
     }
 }