first commit
This commit is contained in:
89
application/config/template.php
Executable file
89
application/config/template.php
Executable file
@@ -0,0 +1,89 @@
|
||||
<?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/'
|
||||
);
|
||||
Reference in New Issue
Block a user