Files
cm-web/application/config/template.php
2020-06-10 06:21:34 +09:00

89 lines
2.2 KiB
PHP
Executable File

<?php defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Parser Enabled
|--------------------------------------------------------------------------
|
| Should the Parser library be used for the entire page?
|
| Can be overridden with $this->template->enable_parser(TRUE/FALSE);
|
| Default: TRUE
|
*/
$config['parser_enabled'] = TRUE;
/*
|--------------------------------------------------------------------------
| Parser Enabled for Body
|--------------------------------------------------------------------------
|
| If the parser is enabled, do you want it to parse the body or not?
|
| Can be overridden with $this->template->enable_parser(TRUE/FALSE);
|
| Default: FALSE
|
*/
$config['parser_body_enabled'] = FALSE;
/*
|--------------------------------------------------------------------------
| Title Separator
|--------------------------------------------------------------------------
|
| What string should be used to separate title segments sent via $this->template->title('Foo', 'Bar');
|
| Default: ' | '
|
*/
$config['title_separator'] = ' | ';
/*
|--------------------------------------------------------------------------
| Theme
|--------------------------------------------------------------------------
|
| Which layout file should be used? When combined with theme it will be a layout file in that theme
|
| Change to 'main' to get /application/views/main.php
|
| Default: FALSE
|
*/
$config['layout'] = FALSE;
/*
|--------------------------------------------------------------------------
| Theme
|--------------------------------------------------------------------------
|
| Which theme to use by default?
|
| Can be overriden with $this->template->set_theme('foo');
|
| Default: ''
|
*/
$config['theme'] = THEME;
/*
|--------------------------------------------------------------------------
| Theme
|--------------------------------------------------------------------------
|
| Where should we expect to see themes?
|
| Default: array(APPPATH.'themes/' => '../themes/')
|
*/
$config['theme_locations'] = array(
APPPATH.'theme/'
);