Permalink
Browse files

Document config options

  • Loading branch information...
1 parent 1c19aa3 commit 845e5018c8a338a9187c87539e8f63abd6d2fd64 @acoulton committed Apr 17, 2012
Showing with 25 additions and 0 deletions.
  1. +25 −0 config/as3et.php
View
25 config/as3et.php
@@ -3,6 +3,9 @@
* Default As3et configuration file - override at application level as required.
*/
return array(
+ /*
+ * One of As3et::MODE_LOCAL or As3et::MODE_S3 - determines where to serve from
+ */
'mode' => NULL,
's3' => array(
/*
@@ -37,10 +40,32 @@
*/
'certificate_authority' => FALSE,
),
+
+ /*
+ * Array of file paths to blacklist and never upload to S3 - supports wildcards:
+ *
+ * 'less/*' => TRUE,
+ * 'Thumbs.db' => TRUE
+ */
'blacklist' => array(
),
+
+ /*
+ * Headers to have Amazon send back with the assets when they're served -
+ * you could add a far-future expires header here as the path will always
+ * change when a new version is deployed.
+ */
'asset_headers' => array(
),
+
+ /*
+ * MIME type to set for an asset when the extension is unrecognised
+ */
'default_mime_type' => 'application/octet-stream',
+
+ /*
+ * The path on disk where the current revision_file will be saved - this is
+ * the PHP file that returns the SHA of the last deployed revision.
+ */
'revision_file' => APPPATH.'config/as3et_current_revision.php',
);

0 comments on commit 845e501

Please sign in to comment.