WP 2.6 is just released, and developers now have a problem. Problem is location of wp-config.php file. Many will say that no one should need to load this file, but there are few situations where you will actually need to load this file.
If you have CSS or JS external file that needs loading of options from the WP database, you need to load config file. I use this in my Starscape theme because based on the options set by the user in control panel, CSS will change. Since I hate embeding CSS code in HTML/PHP file with <STYLE> tag, I need to do it in CSS file.
Only way to do this right now is to have a file where user can insert path to the wp-config file, and then PHP in CSS file can load this file to get the location.
Is there any other way?
Also, it would be good if the WP developers provide some proper way to load wp-config for use in external resource files like CSS or JS.