mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-02-20 11:49:28 +00:00
Initial commit, Ecard system build with CodeIgniter PHP framework
Currently working - Basic structure - Basic caching and gzip compression for speed - Admin authentication
This commit is contained in:
committed by
Ismo Vuorinen
parent
345d8ea65a
commit
c10c9e3131
53
application/config/assets.php
Normal file
53
application/config/assets.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<?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;
|
||||
Reference in New Issue
Block a user