Skip to content

Commit

Permalink
Cache is now a db option.
Browse files Browse the repository at this point in the history
  • Loading branch information
wfarr committed Apr 4, 2011
1 parent 5316f21 commit e124eb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/wordpress.rb
Expand Up @@ -12,11 +12,11 @@ module Wordpress
def wordpress(hash = {})
options = {
:domain => `hostname`.chomp,
:cache => false,
:db => {
:name => 'wordpress',
:username => 'wordpress',
:password => "t1me_2_bl@hg"
:password => "t1me_2_bl@hg",
:cache => false
}
}
options = HashWithIndifferentAccess.new(options.merge!(configuration[:wordpress]))
Expand Down
2 changes: 1 addition & 1 deletion templates/wp-config.php
Expand Up @@ -35,7 +35,7 @@

/** Super Fast Caching. */

define('WP_CACHE', '<%= options[:cache] %>');
define('WP_CACHE', '<%= options[:db][:cache] %>');

/**#@+
* Authentication Unique Keys.
Expand Down

0 comments on commit e124eb1

Please sign in to comment.