12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?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'] . '/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 );
- 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');
- ?>
|