We're not Tinyboard anymore. We've been vichan for 8 years. We should reflect that.

Also use Github wiki so new enhancements can be reflected. It's better than linking to 10-year-old archived documentation.
I'll update the wiki eventually.
This commit is contained in:
runit
2022-09-27 08:50:46 -04:00
committed by Fredrick Brennan
parent b6d411c5e4
commit 63b71bf1fc
4 changed files with 45 additions and 45 deletions

View File

@@ -108,8 +108,8 @@ function loadConfig() {
$config[$key] = array();
}
if (!file_exists('inc/instance-config.php'))
$error('Tinyboard is not configured! Create inc/instance-config.php.');
if (!file_exists('inc/secrets.php'))
$error('Tinyboard is not configured! Create inc/secrets.php.');
// Initialize locale as early as possible
@@ -122,7 +122,7 @@ function loadConfig() {
else {
$config['locale'] = 'en';
$configstr = file_get_contents('inc/instance-config.php');
$configstr = file_get_contents('inc/secrets.php');
if (isset($board['dir']) && file_exists($board['dir'] . '/config.php')) {
$configstr .= file_get_contents($board['dir'] . '/config.php');