File manager - Edit - /home/infoilmg/public_html/wp-content/plugins/fs-poster/init.php
Back
<?php /* * Plugin Name: FS Poster * Description: FS Poster gives you a great opportunity to auto-publish WordPress posts on Facebook, Instagram, Twitter, Linkedin, Pinterest, Google My Business, Telegram, Reddit, Tumblr, VK, OK.ru, Telegram, Medium, and WordPress based sites automatically. * Version: 4.3.6 * Author: FS-Code * Author URI: https://www.fs-code.com * License: Commercial * Text Domain: fs-poster */ namespace FSPoster; use FSPoster\App\Providers\Bootstrap; defined( 'ABSPATH' ) or exit; if ( is_admin() ) { require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); $fs_poster_version = get_plugin_data( __FILE__ )['Version']; update_site_option( 'fs_poster_plugin_installed', $fs_poster_version ); update_site_option( 'fs_poster_plugin_purchase_key', 'purchase_key' ); update_site_option( 'fs_plugin_alert', '' ); update_site_option( 'fs_plugin_disabled', '0' ); update_site_option( 'fs_last_checked_time', time() ); $fs_poster_version = str_replace( '.', '_', $fs_poster_version ); global $wpdb; if ( empty ( get_site_option( 'fs_poster_plugin_installed_' . $fs_poster_version ) ) ) { $fs_data = file_get_contents( __DIR__.'/install.dat' ); $fs_data = json_decode( $fs_data , true ); if ( isset( $fs_data['sql'] ) ) { $sql = str_replace( [ '{tableprefix}', '{tableprefixbase}' ] , [ ( $wpdb->base_prefix . 'fs_' ), $wpdb->base_prefix ] , base64_decode( $fs_data['sql'] ) ); foreach( explode(';' , $sql) AS $sqlQueryOne ) { $checkIfEmpty = preg_replace('/\s/', '', $sqlQueryOne); if( !empty( $checkIfEmpty ) ) { $wpdb->query( $sqlQueryOne ); } } //Remove FS Poster - Standard APP $wpdb->query( 'DELETE FROM `' . $wpdb->base_prefix . 'fs_apps` WHERE `name` = "FS Poster - Standard APP"' ); update_site_option( 'fs_poster_plugin_installed_' . $fs_poster_version, '1' ); } } } require_once __DIR__ . '/vendor/autoload.php'; new Bootstrap();
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.71 |
proxy
|
phpinfo
|
Settings