HEX
Server: Apache
System: Linux web2213.uni5.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User: clinicamaciel (596848)
PHP: 7.3.33
Disabled: apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,eval,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
Upload Files
File: /home/clinicamaciel/www/wp-content/plugins/trx_updater/trx_updater.php
<?php
/**
 * Plugin Name: ThemeREX Updater
 * Description: Allow updates theme-specific plugins and theme core
 * Plugin URI: https://themerex.net/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
 * Author: ThemeREX
 * Version: 1.4.1
 * Author URI: https://themerex.net/?utm_source=trx_updater&utm_campaign=author-uri&utm_medium=wp-dash
 *
 * Text Domain: trx-updater
 *
 * @package ThemeREX Updater
 * @category Core
 *
 * ThemeREX Updater is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * ThemeREX Updater is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

define( 'TRX_UPDATER_VERSION', '1.4.1' );

define( 'TRX_UPDATER_FILE', __FILE__ );
define( 'TRX_UPDATER_BASE', plugin_basename( TRX_UPDATER_FILE ) );
define( 'TRX_UPDATER_DIR', plugin_dir_path( TRX_UPDATER_FILE ) );
define( 'TRX_UPDATER_URL', plugins_url( '/', TRX_UPDATER_FILE ) );

add_action( 'plugins_loaded', 'trx_updater_load_plugin_textdomain' );

require TRX_UPDATER_DIR . 'includes/file.php';
require TRX_UPDATER_DIR . 'includes/html.php';

require TRX_UPDATER_DIR . 'core/plugin.php';

/**
 * Load ThemeREX Updater textdomain.
 *
 * Load gettext translate for ThemeREX Updater text domain.
 *
 * @since 1.0.0
 *
 * @return void
 */
function trx_updater_load_plugin_textdomain() {
	static $loaded = false;
	if ( $loaded ) return true;
	$domain = 'trx-updater';
	if ( is_textdomain_loaded( $domain ) && !is_a( $GLOBALS['l10n'][ $domain ], 'NOOP_Translations' ) ) return true;
	$loaded = true;
	load_plugin_textdomain( $domain, false, TRX_UPDATER_DIR . '/languages' );
}