Files
ystavakylaecard/application/config/assets.php
Ismo Vuorinen c10c9e3131 Initial commit, Ecard system build with CodeIgniter PHP framework
Currently working
- Basic structure
- Basic caching and gzip compression for speed
- Admin authentication
2013-07-11 07:42:03 +03:00

54 lines
1.5 KiB
PHP

<?php
if (empty($config)) {
$config = array();
}
/*
|--------------------------------------------------------------------------
| Processing assets
|--------------------------------------------------------------------------
|
| Flags for processing actions
|
*/
$config['assets']['minify_css'] = true;
$config['assets']['minify_js'] = true;
$config['assets']['enable_less'] = true;
$config['assets']['enable_coffeescript'] = true;
$config['assets']['freeze'] = false;
/*
|--------------------------------------------------------------------------
| Cache
|--------------------------------------------------------------------------
|
| Define if the cache folder should be cleared when generating new cache files
|
*/
$config['assets']['auto_clear_cache'] = true;
$config['assets']['auto_clear_css_cache'] = true;
$config['assets']['auto_clear_js_cache'] = true;
/*
|--------------------------------------------------------------------------
| Default paths and directories, tags
|--------------------------------------------------------------------------
|
| Leave the base_url at null on default
| Default directories containing the assets
| Option to use HTML5 tags
|
*/
$config['assets']['base_url'] = null;
$config['assets']['assets_dir'] = 'assets';
$config['assets']['js_dir'] = 'js';
$config['assets']['css_dir'] = false;
$config['assets']['cache_dir'] = 'cache';
$config['assets']['img_dir'] = 'img';
$config['assets']['html5'] = true;