Files
tyforum/script/TyfConfigGlobal.pm
2023-10-06 09:58:30 +09:00

37 lines
980 B
Perl

package TyfConfigGlobal;
use strict;
use warnings;
our ( $VERSION, $gcfg );
$VERSION = "2.23.0";
#------------------------------------------------------------------------------
# Multi-forum options
# Only touch if you want to use the multi-forum support. See FAQ.html.
# Map hostnames or URL paths to forums
#$gcfg->{forums} = {
# 'foo.example.com' => 'TyfConfigFoo',
# 'bar.example.com' => 'TyfConfigBar',
#};
#$gcfg->{forums} = {
# '/perl/foo' => 'TyfConfigFoo',
# '/perl/bar' => 'TyfConfigBar',
#};
# Database name of one of the used databases under MySQL
#$gcfg->{dbName} = "";
#-----------------------------------------------------------------------------
# Advanced options
# Print page creation time?
# Measures runtime, not CPU-time and not overhead like compilation time.
$gcfg->{pageTime} = 0;
# Script filename extension
$gcfg->{ext} = ".pl";
#-----------------------------------------------------------------------------
# Return OK
1;