Server IP : 52.91.253.208 / Your IP : 3.133.116.137 [ Web Server : Apache System : Linux ip-172-26-9-9 4.19.0-25-cloud-amd64 #1 SMP Debian 4.19.289-1 (2023-07-24) x86_64 User : daemon ( 1) PHP Version : 7.3.18 Disable Function : NONE Domains : 3 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/amazon-polly/includes/ |
Upload File : |
<?php /** * The file that defines custom helper functions * * @link amazon.com * @since 4.0.0 * * @package Amazonpolly * @subpackage Amazonpolly/includes */ class Helper { public function log_error($filename, $message) { date_default_timezone_set('UTC'); error_log('['.date("F j, Y, H:i:s.v e").'] '.$message."\n", 3, $filename); } public function validate_url($url) { return preg_match('/^(\*\.)?(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9])\.)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])$/',$url); } }