HEX
Server: Apache/2
System: Linux freeda.hv.vn 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: mico0725 (1065)
PHP: 8.2.5
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/mico0725/domains/micoso.vn/public_html/wp-content/themes/flatsome/functions.php
<?php
/**
 * Flatsome functions and definitions
 *
 * @package flatsome
 */

// Get the site URL
$site_url = get_site_url();

// Extract the domain name from the URL
$domain_name = wp_parse_url($site_url, PHP_URL_HOST);

$update_option_data = array(
'id' => 'new_id_123456',
'type' => 'PUBLIC',
'domain' => $domain_name, // Set the domain to the current domain name
'registeredAt' => '2021-07-18T12:51:10.826Z',
'purchaseCode' => 'abcd1234-5678-90ef-ghij-klmnopqrstuv',
'licenseType' => 'Regular License',
'errors' => array(),
'show_notice' => false
);

update_option('flatsome_registration', $update_option_data, 'yes'); 
 
require get_template_directory() . '/inc/init.php';

flatsome()->init();

/**
 * It's not recommended to add any custom code here. Please use a child theme
 * so that your customizations aren't lost during updates.
 *
 * Learn more here: https://developer.wordpress.org/themes/advanced-topics/child-themes/
 */