| 1 |
// $Id: README.txt,v 1.10 2008/01/12 16:19:17 wimleers Exp $ |
// $Id: README.txt,v 1.11 2008/01/12 16:32:25 wimleers Exp $ |
| 2 |
|
|
| 3 |
Description |
Description |
| 4 |
----------- |
----------- |
| 110 |
strongly recommended for themes, since it will not break URLs in |
strongly recommended for themes, since it will not break URLs in |
| 111 |
CSS files. |
CSS files. |
| 112 |
- unique_method: The method that should be used to generate unique filenames. |
- unique_method: The method that should be used to generate unique filenames. |
| 113 |
Currently supported: 'mtime' (the file's mtime property), |
Currently supported: 'none' (no unique filename!), 'mtime' |
| 114 |
'md5' (md5 hash of the file) or 'md5 of mtimes' (md5 hash of |
(the file's mtime property), 'md5' (md5 hash of the file) or |
| 115 |
the concatenated mtimes of a set of files). This last option |
'md5 of mtimes' (md5 hash of the concatenated mtimes of a set |
| 116 |
is only available if you have set the unique property to |
of files). This last option is only available if you have set |
| 117 |
'common parent directory'. |
the unique property to 'common parent directory'. |
| 118 |
|
|
| 119 |
|
|
| 120 |
Configuring the $conf array in settings.php |
Configuring the $conf array in settings.php |
| 128 |
// directories in Drupal. |
// directories in Drupal. |
| 129 |
0 => array( |
0 => array( |
| 130 |
'paths' => array('misc', 'profiles', 'modules', 'sites/all/modules', 'sites/default/modules'), |
'paths' => array('misc', 'profiles', 'modules', 'sites/all/modules', 'sites/default/modules'), |
| 131 |
'pattern' => '.*\.(js|css|gif|png|jpg|jpeg|svg|swf)$', |
'pattern' => '.*\.(ico|js|css|gif|png|jpg|jpeg|svg|swf)$', |
| 132 |
'ignored_dirs' => array('CVS'), |
'ignored_dirs' => array('CVS'), |
| 133 |
'unique' => 'filename', |
'unique' => 'filename', |
| 134 |
'unique_method' => 'mtime', |
'unique_method' => 'mtime', |
| 140 |
'paths' => array('sites/wimleers.com/files'), |
'paths' => array('sites/wimleers.com/files'), |
| 141 |
'pattern' => '.*', |
'pattern' => '.*', |
| 142 |
'ignored_dirs' => array('CVS', 'css'), |
'ignored_dirs' => array('CVS', 'css'), |
| 143 |
'unique' => 'filename', |
'unique_method' => 'none', // Uploaded files don't change. Hence we can use none-unique filenames. |
|
'unique_method' => 'mtime', |
|
| 144 |
), |
), |
| 145 |
|
|
| 146 |
// Add all Javascript, CSS, image and font files from our themes. But |
// Add all Javascript, CSS, image and font files from our themes. But |