PHP 8.2.30
Preview: config.php Size: 1.33 KB
/var/softaculous/carbon/config.php

<?php
// set automatically the time zone
date_default_timezone_set('Asia/Shanghai');

define('DEBUG_MODE', false);

// Salt for Cookie and Form
// Free to modify
define('SALT', 'AuthorIsLinCanbin');
define('PREFIX', 'carbon_');
define('InternalAccess', true);
/*模板文件使用
if (!defined('InternalAccess')) exit('error: 403 Access Denied');
来防止模板文件被游客访问
*/
define('ForumLanguage', 'en');
//MemCache(d) / Redis
define('EnableMemcache', false);
define('MemCacheHost', 'localhost');
define('MemCachePort', 11211);//Memcache: 11211, Redis: 6379
define('MemCachePrefix', 'carbon_');
//Database
define('DBHost', '[[softdbhost]]');
define('DBPort', '3306');
define('DBName', '[[softdb]]');
define('DBUser', '[[softdbuser]]');
define('DBPassword', '[[softdbpass]]');
//Sphinx Server
define('SearchServer', '');
define('SearchPort', '');

define('LanguagePath', __DIR__ . '/language/' . ForumLanguage . '/');
define('LibraryPath', __DIR__ . '/library/');
define('ServicePath', __DIR__ . '/service/');

// API checking data
// List<Map<String APIKey, String APISecret>>
// Free to modify
$APISignature = array();
$APISignature['12450'] = 'b40484df0ad979d8ba7708d24c301c38';

if (DEBUG_MODE) {
	//Enable error report
	error_reporting(E_ALL); 
	ini_set('display_errors', 'On');
} else {
	//Disable error report
	ini_set('display_errors', 'Off');
}

Directory Contents

Dirs: 5 × Files: 12

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2024-03-21 11:29:08
Edit Download
php53 DIR
- drwxr-xr-x 2024-03-21 11:29:08
Edit Download
php56 DIR
- drwxr-xr-x 2024-03-21 11:29:08
Edit Download
php71 DIR
- drwxr-xr-x 2024-03-21 11:29:08
Edit Download
php81 DIR
- drwxr-xr-x 2024-03-21 11:29:08
Edit Download
1.52 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
1.33 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
4.29 KB lrw-r--r-- 2022-09-21 09:23:02
Edit Download
433 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
299 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
3.12 KB lrw-r--r-- 2022-09-21 09:23:02
Edit Download
1.87 KB lrw-r--r-- 2022-09-21 08:18:40
Edit Download
921 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
4.26 KB lrw-r--r-- 2022-09-21 09:23:02
Edit Download
565 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
3.30 KB lrw-r--r-- 2022-09-21 09:23:02
Edit Download
80 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).