forked from GithubBackups/vichan
smart build: define configuration variables
This commit is contained in:
parent
3f381ee569
commit
b2f6c4c956
@ -1239,9 +1239,20 @@
|
|||||||
// Website favicon.
|
// Website favicon.
|
||||||
$config['url_favicon'] = 'static/favicon.ico';
|
$config['url_favicon'] = 'static/favicon.ico';
|
||||||
|
|
||||||
// EXPERIMENTAL: Try not to build pages when we shouldn't have to.
|
// Try not to build pages when we shouldn't have to.
|
||||||
$config['try_smarter'] = true;
|
$config['try_smarter'] = true;
|
||||||
|
|
||||||
|
// EXPERIMENTAL: Defer static HTML building to a moment, when a given file is actually accessed.
|
||||||
|
// Warning: This option won't run out of the box. You need to tell your webserver, that a file
|
||||||
|
// for serving 403 and 404 pages is /smart_build.php. Also, you need to turn off indexes.
|
||||||
|
$config['smart_build'] = false;
|
||||||
|
|
||||||
|
// Smart build related: when a file doesn't exist, where should we redirect?
|
||||||
|
$config['page_404'] = '/404.html';
|
||||||
|
|
||||||
|
// Smart build related: extra entrypoints.
|
||||||
|
$config['smart_build_entrypoints'] = array();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ====================
|
* ====================
|
||||||
* Mod settings
|
* Mod settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user