Quellcode durchsuchen

clientareafunctions

andre vor 3 Jahren
Ursprung
Commit
04d477e1ae
1 geänderte Dateien mit 9 neuen und 1 gelöschten Zeilen
  1. 9 1
      cwp7.php

+ 9 - 1
cwp7.php

@@ -20,7 +20,15 @@ if (!defined('WHMCS')) {
 const NS1 = '185.163.51.142';
 const NS1 = '185.163.51.142';
 const NS2 = '185.178.193.125';
 const NS2 = '185.178.193.125';
 
 
-opcache_invalidate("/Services/Internet/html/modules/servers/cwp7/cwp7.php", $force = false);
+if(opcache_is_script_cached("/Services/Internet/html/modules/servers/cwp7/cwp7.php")) {
+	logModuleCall(
+		'cwp7',
+		__FUNCTION__,
+		'',
+		'debug',
+		'cached'
+	);
+}
 
 
 function cwp7_MetaData() {
 function cwp7_MetaData() {
     return array(
     return array(