소스 검색

new service module

andre 4 년 전
부모
커밋
9d37c8795a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      serviceAddon.php

+ 2 - 2
serviceAddon.php

@@ -10,7 +10,7 @@ function serviceAddon_CreateAccount(array $params) {
         __FUNCTION__,
         $params,
         'Debug',
-        $whmcs
+        App::self()
     );
     return 'success';
 }
@@ -55,7 +55,7 @@ function serviceAddon_AdminServicesTabFields($params) {
 
 function serviceAddon_ClientArea($params) {
     return array(
-        'templatefile' => 'clientarea',
+        'tabOverviewReplacementTemplate' => 'templates/clientarea',
         'vars' => array(
             'test1' => 'hello',
             'test2' => 'world',