1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- if ( file_exists( dirname( __FILE__ ) . '/wp-local-config.php' ) ) {
- define( 'WP_LOCAL_DEV', true );
- include( dirname( __FILE__ ) . '/wp-local-config.php' );
- } else {
- define('DB_NAME', '');
- define('DB_USER', '');
- define('DB_PASSWORD', '');
- define('DB_HOST', '127.0.0.1');
- define('DB_CHARSET', 'utf8');
- define('DB_COLLATE', '');
- }
- //define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . '/app' );
- //define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp/app' );
- //define( 'PLUGINDIR', dirname(__FILE__) . '/app/plugins' );
- define('AUTH_KEY', '');
- define('SECURE_AUTH_KEY', '');
- define('LOGGED_IN_KEY', '');
- define('NONCE_KEY', '');
- define('AUTH_SALT', '');
- define('SECURE_AUTH_SALT', '');
- define('LOGGED_IN_SALT', '');
- define('NONCE_SALT', '');
- $table_prefix = 'wp_';
- define( 'WPLANG', '' );
- define('WP_DEBUG', true);
- define( 'WP_DEBUG_DISPLAY', true );
- @ini_set( 'log_errors', 'On' );
- @ini_set( 'display_errors', 'On' );
- @ini_set( 'error_log', '/php_error.log' );
- @ini_set( 'error_reporting', E_ALL );
- define('AUTOSAVE_INTERVAL', 720 );
- define('WP_POST_REVISIONS', 2);
- define('WP_MEMORY_LIMIT', '128M');
- //define( 'WP_ALLOW_MULTISITE', true );
- //define( 'DISALLOW_FILE_EDIT', true );
- //define(‘FORCE_SSL_ADMIN’, true);
- //define(‘FORCE_SSL_LOGIN’, true);
- if ( file_exists( dirname( __FILE__ ) . '/memcached.php' ) )
- $memcached_servers = include( dirname( __FILE__ ) . '/memcached.php' );
- if ( !defined('ABSPATH') )
- define('ABSPATH', dirname(__FILE__) . '/wp/');
- require_once(ABSPATH . 'wp-settings.php');
- ?>
|