Permalink
Browse files

Add a cookie salt

  • Loading branch information...
1 parent aebc866 commit 9291c7fa7e2572171fe852e6fc41eee6ee146a6e @kiall kiall committed Dec 10, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 guides/3.2-bootstrap.php
View
@@ -85,6 +85,13 @@
));
/**
+ * Setup the cookie salt.
+ * Since this is just for the userguide and cookies are not used for anything really,
+ * Its "okay" to set this to something this crap!
+ */
+Cookie::$salt = '12345';
+
+/**
* Attach the file write to logging. Multiple writers are supported.
*/
Kohana::$log->attach(new Log_File(APPPATH.'logs'));

0 comments on commit 9291c7f

Please sign in to comment.