123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <?php
- /**
- * Part of the Fuel framework.
- *
- * @package Fuel
- * @version 1.5
- * @author Fuel Development Team
- * @license MIT License
- * @copyright 2010 - 2013 Fuel Development Team
- * @link http://fuelphp.com
- */
- /**
- * NOTICE:
- *
- * If you need to make modifications to the default configuration, copy
- * this file to your app/config folder, and make them in there.
- *
- * This will allow you to upgrade fuel without losing your custom config.
- */
- return array(
- /**
- * An array of paths that will be searched for assets. Each path is a
- * RELATIVE path from the speficied url:
- *
- * array('assets/')
- *
- * These MUST include the trailing slash ('/')
- *
- * Paths specified here are suffixed with the sub-folder paths defined below.
- */
- 'paths' => array('assets/'),
- /**
- * Asset Sub-folders
- *
- * Names for the img, js and css folders (inside the asset search path).
- *
- * Examples:
- *
- * img/
- * js/
- * css/
- *
- * This MUST include the trailing slash ('/')
- */
- 'img_dir' => 'img/',
- 'js_dir' => 'js/',
- 'css_dir' => 'css/',
- /**
- * You can also specify one or more per asset-type folders. You don't have
- * to specify all of them. * Each folder is a RELATIVE path from the url
- * speficied below:
- *
- * array('css' => 'assets/css/')
- *
- * These MUST include the trailing slash ('/')
- *
- * Paths specified here are expected to contain the assets they point to
- */
- 'folders' => array(
- 'css' => array(),
- 'js' => array(),
- 'img' => array(),
- ),
- /**
- * URL to your Fuel root. Typically this will be your base URL:
- *
- * Config::get('base_url')
- *
- * These MUST include the trailing slash ('/')
- */
- 'url' => Config::get('base_url'),
- /**
- * Whether to append the assets last modified timestamp to the url.
- * This will aid in asset caching, and is recommended. It will create
- * tags like this:
- *
- * <link type="text/css" rel="stylesheet" src="/assets/css/styles.css?1303443763" />
- */
- 'add_mtime' => true,
- /**
- * The amount of indents to prefix to the generated asset tag(s).
- */
- 'indent_level' => 1,
- /**
- * What to use for indenting.
- */
- 'indent_with' => "\t",
- /**
- * What to do when an asset method is called without a group name. If true, it will
- * return the generated asset tag. If false, it will add it to the default group.
- */
- 'auto_render' => true,
- /**
- * Set to false to prevent an exception from being throw when a file is not found.
- * The asset will then be skipped.
- */
- 'fail_silently' => false,
- );
|