Index: wp-config-sample.php
===================================================================
--- wp-config-sample.php	(revision 12139)
+++ wp-config-sample.php	(working copy)
@@ -69,8 +69,11 @@
 /* That's all, stop editing! Happy blogging. */
 
 /** WordPress absolute path to the Wordpress directory. */
-if ( !defined('ABSPATH') )
+if ( ! defined( 'ABSPATH' ) ) {
+	if ( defined( 'WP_DEBUG' ) && ( true === WP_DEBUG ) )
+	    trigger_error( 'Calling wp-config.php directly from a plugin is <strong>strongly discouraged</strong>.  Instead your code should use actions and filters, or call "wp-blog-header.php"' );
 	define('ABSPATH', dirname(__FILE__) . '/');
+}
 
 /** Sets up WordPress vars and included files. */
 require_once(ABSPATH . 'wp-settings.php');
