diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2010-11-01 22:49:01 +0200 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2010-11-01 22:49:01 +0200 |
commit | 328691484239fe89136ede133804d5b66a93b3e8 (patch) | |
tree | caee1aafe53921a507542b65e992d03cb2779680 /plugins/akismet | |
parent | Remove useless hello dolly plugin (diff) | |
download | blogs-gentoo-328691484239fe89136ede133804d5b66a93b3e8.tar.gz blogs-gentoo-328691484239fe89136ede133804d5b66a93b3e8.tar.bz2 blogs-gentoo-328691484239fe89136ede133804d5b66a93b3e8.zip |
Add include line in akismet.php, it points to the api key
This way we hardcode the api key and it works for all users/blogs
Diffstat (limited to 'plugins/akismet')
-rw-r--r-- | plugins/akismet/akismet.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/akismet/akismet.php b/plugins/akismet/akismet.php index 7059bef4..19ce3167 100644 --- a/plugins/akismet/akismet.php +++ b/plugins/akismet/akismet.php @@ -34,7 +34,7 @@ if ( defined('WPCOM_API_KEY') ) $wpcom_api_key = constant('WPCOM_API_KEY'); else $wpcom_api_key = ''; - +include '/var/www/blogs.gentoo.org/secrets/wp-apikey.php'; // Make sure we don't expose any info if called directly if ( !function_exists( 'add_action' ) ) { echo "Hi there! I'm just a plugin, not much I can do when called directly."; |