From 9f984852bd0f5ad05245ee3e2e2c6ed12ed010bf Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 2 Jan 2008 17:48:17 +0000 Subject: Added "NOBLOGREDIRECT" constant to redirect if a blog is unknown, fixes #522 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1178 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-config-sample.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wp-config-sample.php') diff --git a/wp-config-sample.php b/wp-config-sample.php index 302e1ec..90de36a 100644 --- a/wp-config-sample.php +++ b/wp-config-sample.php @@ -21,9 +21,14 @@ $table_prefix = 'wp_'; // Only numbers, letters, and underscores please! // For example, install de.mo to wp-content/languages and set WPLANG to 'de' // to enable German language support. define ('WPLANG', ''); + // uncomment this to enable wp-content/sunrise.php support //define( 'SUNRISE', 'on' ); +// Uncomment and set this to a URL to redirect if a blog does not exist. (Useful if signup is disabled) +// Browser will redirect to constant( 'NOBLOGREDICT' ) . "?new=blogname" where blogname is the unknown blog +// define( 'NOBLOGREDIRECT', '' ); + define( "WP_USE_MULTIPLE_DB", false ); /* That's all, stop editing! Happy blogging. */ -- cgit