HEX
Server: Apache/2
System: Linux server-27-254-144-72.da.direct 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64
User: pokaorgani (1114)
PHP: 8.1.33
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/pokaorgani/public_html/wp-content/plugins/gallery-by-supsystic/index.php
<?php

/**
 * Plugin Name: Photo Gallery by Supsystic
 * Description: Easy to use Gallery by Supsystic with professional gallery templates. Show off your best design, photography and creative work
 * Version: 1.15.15
 * Author: supsystic.com
 * Author URI: https://supsystic.com
 * Text Domain: grid-gallery
 **/

 //Fix RSC Class rename for PRO plugin
 function sggChangeProVersionNotice(){
	 global $pagenow;
	 if ( $pagenow == 'admin.php' || $pagenow == 'plugins.php' ) {
		 echo '<div class="notice notice-warning is-dismissible"><p><b>WARNING!</b> You using <b>OLD Photo Gallery by Supsystic PRO</b> version! For continued use and before activating the PRO plugin - please <b>UPDATE PRO VERSION</b>. Thank you. <br><b>You can download new compatible PRO version direct from this <a href="https://supsystic.com/pro/supsystic-gallery-pro.zip">LINK</a></b>.</p></div>';
	 }
 }
 require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
 $proPluginPath = dirname(__FILE__);
 $proPluginPath = str_replace('gallery-supsystic', 'supsystic-gallery-pro', $proPluginPath);
 $proPluginPath = str_replace('gallery-by-supsystic', 'supsystic-gallery-pro', $proPluginPath);
 $proPluginPath = $proPluginPath . '/index.php';
 if (file_exists($proPluginPath)) {
	$pluginData = get_file_data($proPluginPath, array('Version' => 'Version'), false);
	if (!empty($pluginData['Version']) && version_compare($pluginData['Version'], '2.9.7', '<')) {
		add_action('admin_notices', 'sggChangeProVersionNotice');
		deactivate_plugins('supsystic-gallery-pro/index.php');
	}
 }

require_once dirname(__FILE__) . '/app/SupsysticGallery.php';

if (!defined('SGG_PLUGIN_URL')) {
	define('SGG_PLUGIN_URL', plugin_dir_url( __FILE__ ));
}

$supsysticGallery = new SupsysticGallery('1.15.15');
$supsysticGallery->run();