Selaa lähdekoodia

add servicecode

andre 3 vuotta sitten
vanhempi
commit
fbae1a676b
1 muutettua tiedostoa jossa 18 lisäystä ja 0 poistoa
  1. 18 0
      servicecode.php

+ 18 - 0
servicecode.php

@@ -0,0 +1,18 @@
+<?php
+
+// this hook returns $addon->subscriptionid as $addon.code in smarty
+
+if (!defined("WHMCS"))
+    die("This file cannot be accessed directly");
+
+add_hook('ClientAreaProductDetailsPreModuleTemplate', 1, function($vars) {
+
+    logModuleCall(
+        'ClientAreaProductDetailsPreModuleTemplate',
+        __FUNCTION__,
+        $vars,
+        'debug',
+        ''
+    );
+
+});