File: //local/config/pagely/config.php
<?php
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'db_dom877180');
/** MySQL database username */
define('DB_USER', 'db_dom877180');
/** MySQL database password */
define('DB_PASSWORD', '3kCjkeqFOdwU2PI2wPtHdDy0sVmojkmK5pS2BE0n');
/** MySQL hostname */
define('DB_HOST', '10.204.132.212');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
/** Maske sure multisite is off **/
if ( defined('MULTISITE') AND MULTISITE ){
die('You do not have a multisite enabled account, please contact support.');
}
// ** Redis defaults to allow seamless install of redis-cache(-pro) in Pagely environment ** //
define('WP_REDIS_DIR', __DIR__. '/../hosting-plugins/redis-cache-pro');
$WP_REDIS_CONFIG = array(
'token' => 'bf2ad6a2345b879739ae2b450dffcca0e22d1865cabad44e63d7c53ba06b',
'async_flush' => true,
'compression' => 'zstd',
'maxttl' => 3600 * 24 * 7, // 7 days
'persistent' => false,
'serializer' => 'igbinary',
'split_alloptions' => false,
'timeout' => '.5',
'database' => 1,
'prefix' => "db_dom877180",
'strict' => false,
'updates' => false,
'analytics' => ['enabled' => false],
'debug' => (bool)getenv('WP_REDIS_CONFIG_DEBUG'),
);
if (!getenv('SSH_CLIENT')) {
$WP_REDIS_CONFIG['path'] = '/alloc/tmp/redis.sock';
}
if (!isset($WP_REDIS_CONFIG['path'])) {
$WP_REDIS_CONFIG['host'] = 'app-877180-redis.sites.service.nomad';
$WP_REDIS_CONFIG['port'] = '6380';
}
$WP_REDIS_CONFIG['username'] = 'dom_877180_session_202512161700';
$WP_REDIS_CONFIG['password'] = 'e2220270-3b0c-404f-bd09-7c1536fbb3f8';
foreach(['/user/redis-config.php', '/../user/redis-config.php', '/../../../user/redis-config.php'] as $path)
{
if (file_exists($path))
{
include $path;
break;
}
}
// Compatability with old redis-cache vars
if (defined('WP_REDIS_SERVER'))
$WP_REDIS_CONFIG['host'] = WP_REDIS_SERVER;
if (!defined('WP_REDIS_PORT'))
define('WP_REDIS_PORT', '6380');
else
$WP_REDIS_CONFIG['port'] = WP_REDIS_PORT;
if (!defined('WP_CACHE_KEY_SALT'))
define('WP_CACHE_KEY_SALT', 'db_dom877180');
else
$WP_REDIS_CONFIG['prefix'] = WP_CACHE_KEY_SALT;
// Turn our array into a constant
define('WP_REDIS_CONFIG', $WP_REDIS_CONFIG);
unset($WP_REDIS_CONFIG);
if (file_exists('/local/rendered/gateway.php')) { include '/local/rendered/gateway.php'; }