Uname: Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 145.239.37.162
Your Ip: 216.73.216.190
User: dreampi (1009562) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : themeConfig.js
'use strict';
// External dependencies
const fs = require( 'fs' );
const merge = require( 'deepmerge' );

// Default config file
const defaultConfigPath = __dirname + '/config.default.json';
const hasDefault = fs.existsSync( defaultConfigPath );
if( ! hasDefault ) {
	console.error(`No default configuration detected. Please create the file ${defaultConfigPath}`);
	process.exit(1);
}

// Set config to the default config
const defaultConfig = require( defaultConfigPath );
let config = defaultConfig;


// Load custom config next
const custom = __dirname + '/config.json';
const hasCustom = fs.existsSync( custom );
if ( hasCustom ) {
	config = merge(config,require( custom ));
}

// Then append local config
const local = __dirname + '/config.local.json';
const hasLocal = fs.existsSync( local );
if ( hasLocal ) {
	config = merge(config,require( local ));
}

// Export the config
module.exports = config;
© 2026 GrazzMean-Shell