'wordpressdb', 'allow_updates' => false, 'params' => array( 'wp_database' => array( 'username' => 'user', 'password' => 'pass', 'database' => 'dbname', 'host' => 'localhost', 'table_prefix' => 'wp_', 'charset' => 'utf8' ), 'path' => 'path/to/local/wordpress/installation' ) ); // load code if ($config['wordpress_auth']['driver'] == 'wordpressfile') { require_once $config['wordpress_auth']['params']['path'] . 'wp-load.php'; require_once $config['wordpress_auth']['params']['path'] . 'wp-admin/includes/user.php'; }