wpshell-config.php in wpshell – WordPress Code Trac

Last change on this file was 49, checked in by , 16 years ago

wpshell initial commit

File size: 634 bytes
Line 
1<?php
2
3$_SERVER['HTTP_HOST']       = 'your.host.name';
4$_SERVER['SERVER_SOFTWARE'] = 'apache';
5$_SERVER['REQUEST_URI']     = '/';
6$_SERVER['SERVER_ADDR']     = gethostbyname( $_SERVER['HTTP_HOST'] );
7$_SERVER['HTTP_USER_AGENT'] = 'wpshell/1.0';
8$_SERVER['REMOTE_ADDR']     = '127.0.0.1';
9$_SERVER['REMOTE_PORT']     = '0';
10$_SERVER['QUERY_STRING']    = '';
11
12define('ADMIN_PLUGINS', true);
13
14require dirname( __FILE__ ) . '/module-wpdb.php';
15require dirname( __FILE__ ) . '/module-fshell.php';
16require dirname( __FILE__ ) . '/module-hello.php';
17require dirname( __FILE__ ) . '/module-wpreference.php';
18
19require 'path/to/wp-config.php';

Note: See TracBrowser for help on using the repository browser.