Title: Configuration file
Last modified: August 20, 2016

---

# Configuration file

 *  [emixiak](https://wordpress.org/support/users/emixiak/)
 * (@emixiak)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/configuration-file/)
 * Hello everyone..
    Wordpress config file should be a config file not some sort
   of bootstrap loader:
 * `require_once(ABSPATH . 'wp-settings.php');`
 * This line should not be there then it would be possible to just include this 
   file in plugin or some other script and get wordpress database settings without
   having to include loads of useless files and code!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/configuration-file/#post-2124414)
 * Why would someone need to get the database settings for a plugin?
 *  Thread Starter [emixiak](https://wordpress.org/support/users/emixiak/)
 * (@emixiak)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/configuration-file/#post-2124433)
 * For example to use native mysql functions?
    Not to include loads of useless code
   if part of a plugin works as a service (is independent) and still has to share
   wordpress options?
 * There is a lot of overhead when requiring `wp-load.php` just to retrieve a single
   setting from the database.
 * Config file should be a config file. To store settings, not to load another files.
   That kind of dependency should not occur.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Configuration file’ is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 2 replies
 * 2 participants
 * Last reply from: [emixiak](https://wordpress.org/support/users/emixiak/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/configuration-file/#post-2124433)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
