One Hat Cyber Team
Your IP :
18.191.203.35
Server IP :
50.28.103.30
Server :
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
nginx/1.24.0
PHP Version :
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
pass.electronharmony.com
/
fns
/
global
/
Edit File:
cache-service_worker.php
<?php $settings = extract_json(['file' => 'assets/cache/settings.cache']); $contents = ''; if ($settings->push_notifications === 'onesignal') { $contents .= "importScripts('https://cdn.onesignal.com/sdks/OneSignalSDKWorker.js');\n"; } else if ($settings->push_notifications === 'webpushr') { $contents .= "importScripts('https://cdn.webpushr.com/sw-server.min.js');\n"; } if ($settings->progressive_web_application === 'enable') { $contents .= "importScripts('".Registry::load('config')->site_url."pwa-sw.js');"; } $sw_file = 'service_worker.js'; if (file_exists($sw_file)) { unlink($sw_file); } $cachefile = fopen($sw_file, "w"); fwrite($cachefile, $contents); fclose($cachefile); ?>
Simpan