Index: wp-config-sample.php
===================================================================
--- wp-config-sample.php	(revision 12135)
+++ wp-config-sample.php	(working copy)
@@ -69,8 +69,10 @@
 /* That's all, stop editing! Happy blogging. */
 
 /** WordPress absolute path to the Wordpress directory. */
-if ( !defined('ABSPATH') )
+if ( ! defined( 'ABSPATH' ) ) {
+	_deprecated_file( 'Calling wp-config.php directly from a plugin', 0.0, 'wp-load.php' );
 	define('ABSPATH', dirname(__FILE__) . '/');
+}
 
 /** Sets up WordPress vars and included files. */
 require_once(ABSPATH . 'wp-settings.php');
