| 1 |
// $Id: README.txt,v 1.11 2008/01/12 16:32:25 wimleers Exp $ |
// $Id: README.txt,v 1.12 2008/01/12 17:18:42 wimleers Exp $ |
| 2 |
|
|
| 3 |
Description |
Description |
| 4 |
----------- |
----------- |
| 135 |
), |
), |
| 136 |
|
|
| 137 |
// We want to add *everything* in the files directory. Except for the |
// We want to add *everything* in the files directory. Except for the |
| 138 |
// files in the CSS directory, because they need special treatment. |
// files in the CSS and JS directory, because they need other treatment: |
| 139 |
|
// we assume that files in this directory don't change, so we can use |
| 140 |
|
// non-unique filenames, resulting in nicer filenames when they're |
| 141 |
|
// downloaded. |
| 142 |
1 => array( |
1 => array( |
| 143 |
'paths' => array('sites/wimleers.com/files'), |
'paths' => array('sites/wimleers.com/files'), |
| 144 |
'pattern' => '.*', |
'pattern' => '.*', |
| 145 |
'ignored_dirs' => array('CVS', 'css'), |
'ignored_dirs' => array('CVS', 'css', 'js'), |
| 146 |
'unique_method' => 'none', // Uploaded files don't change. Hence we can use none-unique filenames. |
'unique_method' => 'none', |
| 147 |
|
), |
| 148 |
|
|
| 149 |
|
// Add all files in the files/css directory, *but* update the URLs in the |
| 150 |
|
// files. This is only necessary if we use CSS aggregation. |
| 151 |
|
2 => array( |
| 152 |
|
'paths' => array('sites/wimleers.com/files/css'), |
| 153 |
|
'pattern' => '.*', |
| 154 |
|
'ignored_dirs' => array('CVS'), |
| 155 |
|
'unique' => 'filename', |
| 156 |
|
'unique_method' => 'mtime', |
| 157 |
|
'update_urls_in_files' => TRUE, |
| 158 |
|
), |
| 159 |
|
|
| 160 |
|
// Add all files in the files/js directory. This is only necessary if we |
| 161 |
|
// use JS aggregation. |
| 162 |
|
3 => array( |
| 163 |
|
'paths' => array('sites/wimleers.com/files/js'), |
| 164 |
|
'pattern' => '.*', |
| 165 |
|
'ignored_dirs' => array('CVS'), |
| 166 |
|
'unique' => 'filename', |
| 167 |
|
'unique_method' => 'mtime', |
| 168 |
), |
), |
| 169 |
|
|
| 170 |
// Add all Javascript, CSS, image and font files from our themes. But |
// Add all Javascript, CSS, image and font files from our themes. But |
| 172 |
// using the "common parent directory" unique level and the "md5 of mtimes" |
// using the "common parent directory" unique level and the "md5 of mtimes" |
| 173 |
// uniqueness method. We can revert to normal values if we have CSS |
// uniqueness method. We can revert to normal values if we have CSS |
| 174 |
// aggregation enabled. |
// aggregation enabled. |
| 175 |
2 => array( |
4 => array( |
| 176 |
'paths' => array('sites/default/themes/garland-customized'), |
'paths' => array('sites/default/themes/garland-customized'), |
| 177 |
'pattern' => '.*\.(js|css|gif|png|jpg|jpeg|otf)$', // We *include* css files, because some (e.g. fix-ie.css) are not included in the aggregation. |
'pattern' => '.*\.(js|css|gif|png|jpg|jpeg|otf)$', // We *include* css files, because some (e.g. fix-ie.css) are not included in the aggregation. |
| 178 |
'ignored_dirs' => array('CVS'), |
'ignored_dirs' => array('CVS'), |
| 179 |
'unique' => 'common parent directory', |
'unique' => 'common parent directory', |
| 180 |
'unique_method' => 'md5 of mtimes', |
'unique_method' => 'md5 of mtimes', |
| 181 |
), |
), |
|
|
|
|
// Add all files in the files/css directory, *but* update the URLs in the |
|
|
// files. This is only necessary if we use CSS aggregation. |
|
|
// This filter must come after the images and fonts referenced in the CSS |
|
|
// files have been synchronized! |
|
|
2 => array( |
|
|
'paths' => array('sites/wimleers.com/files/css'), |
|
|
'pattern' => '.*', |
|
|
'ignored_dirs' => array('CVS'), |
|
|
'unique' => 'filename', |
|
|
'unique_method' => 'mtime', |
|
|
'update_urls_in_files' => TRUE, |
|
|
), |
|
| 182 |
), |
), |
| 183 |
'cdn_sync_method' => 'ftp', |
'cdn_sync_method' => 'ftp', |
| 184 |
'cdn_sync_method_settings' => array( |
'cdn_sync_method_settings' => array( |