Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > > extendify > > app
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Assist | Directory | - | - | |
Draft | Directory | - | - | |
HelpCenter | Directory | - | - | |
Launch | Directory | - | - | |
Library | Directory | - | - | |
PageCreator | Directory | - | - | |
Recommendations | Directory | - | - | |
Shared | Directory | - | - | |
AdminPageRouter.php | File | 10367 bytes | July 16 2025 19:39:24. | |
Affiliate.php | File | 2513 bytes | May 22 2025 22:26:12. | |
ApiRouter.php | File | 2342 bytes | June 09 2025 17:02:32. | |
Config.php | File | 3716 bytes | July 16 2025 19:39:24. | |
Insights.php | File | 6572 bytes | July 16 2025 19:39:24. | |
PartnerData.php | File | 11019 bytes | July 16 2025 19:39:24. | |
SiteSettings.php | File | 1341 bytes | May 22 2025 22:26:12. |
<?php /** * The App details file */ namespace Extendify; defined('ABSPATH') || die('No direct access.'); use Extendify\Shared\Services\Sanitizer; /** * Controller for handling various app data */ class Config { /** * Plugin slug * * @var string */ public static $slug = 'extendify'; /** * The JS/CSS asset manifest (with hashes) * * @var array */ public static $assetManifest = []; /** * Plugin version * * @var string */ public static $version = ''; /** * Plugin API REST version * * @var string */ public static $apiVersion = 'v1'; /** * Partner Id * * @var string|null */ public static $partnerId = null; /** * Whether to load Launch * * @var boolean */ public static $showLaunch = false; /** * Plugin environment * * @var string */ public static $environment = ''; /** * Host plugin * * @var string */ public static $requiredCapability = EXTENDIFY_REQUIRED_CAPABILITY; /** * Plugin config * * @var array */ public static $config = []; /** * Whether Launch was finished * * @var boolean */ public static $launchCompleted = false; /** * Whether to enable preview features or not. * * @var boolean */ public static $enablePreviewFeatures = false; /** * Process the readme file to get version and name * * @return void */ public function __construct() { self::$partnerId = defined('EXTENDIFY_PARTNER_ID') ? constant('EXTENDIFY_PARTNER_ID') : null; $partnerData = PartnerData::getPartnerData(); // phpcs:ignore WordPress.WP.AlternativeFunctions.file_get_contents_file_get_contents $readme = file_get_contents(EXTENDIFY_PATH . 'readme.txt'); preg_match('/Stable tag: ([0-9.:]+)/', $readme, $matches); self::$version = $matches[1]; self::$assetManifest = wp_json_file_decode( EXTENDIFY_PATH . 'public/build/manifest.json', ['associative' => true] ); if (!get_option('extendify_first_installed_version')) { update_option('extendify_first_installed_version', Sanitizer::sanitizeText(self::$version)); } // Check the url for the extendify-preview parameter. // If it is set to false, we disable preview features, if it is set to true, we enable preview features. // phpcs:ignore WordPress.Security.NonceVerification if (isset($_GET['extendify-preview'])) { // phpcs:ignore WordPress.Security.NonceVerification self::$enablePreviewFeatures = $_GET['extendify-preview'] === 'false' // phpcs:ignore WordPress.Security.NonceVerification ? filter_var(\wp_unslash($_GET['extendify-preview']), FILTER_VALIDATE_BOOLEAN) : true; update_option('extendify_enable_preview_features', self::$enablePreviewFeatures); } else { // If it is not set, we use the value from the database, default is false. self::$enablePreviewFeatures = (bool) get_option('extendify_enable_preview_features', false); } // An easy way to check if we are in dev mode is to look for a dev specific file. $isDev = is_readable(EXTENDIFY_PATH . '.devbuild'); self::$environment = $isDev ? 'DEVELOPMENT' : 'PRODUCTION'; self::$launchCompleted = (bool) get_option('extendify_onboarding_completed', false); self::$showLaunch = $isDev ? true : ((bool) ($partnerData['showLaunch'] ?? false)); } }
SILENT KILLER Tool