芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/status.pulsehost.co.uk/app/controllers/Twiml.php
notification_handlers->twilio_call_is_enabled) { redirect(); } $language_key = isset($this->params[0]) ? str_replace('-', '_', input_clean($this->params[0])) : null; if(!$language_key) { redirect(); } $available_language_keys = [ 'heartbeat.simple_notification.is_ok', 'heartbeat.simple_notification.is_not_ok', 'domain_name.simple_notification.ssl', 'domain_name.simple_notification.whois', 'monitor.simple_notification.is_ok', 'monitor.simple_notification.is_not_ok', 'dns_monitor.simple_notification', 'server_monitor.simple_notification.alert', ]; if(!in_array($language_key, $available_language_keys)) { redirect(); } /* Process parameters */ $parameters = []; foreach($_GET as $key => $value) { if(string_starts_with('param', $key)) { $parameters[] = input_clean($value); } } header('Content-Type: text/xml'); echo ''; echo '
'; echo '
' . sprintf(l($language_key), ...$parameters) . '
'; echo '
'; die(); } }