summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2014-04-03 00:12:14 -0400
committerspiderr <spider@viovio.com>2014-04-03 00:12:14 -0400
commit4277f5ba9487c44be01afad928c98c9f84dfbb96 (patch)
tree4b02fb856bbdbad2db994791ee37bcf61476deb3 /index.php
parent2454f3743a7446b63b43f5c632957d3b44998861 (diff)
downloadusers-4277f5ba9487c44be01afad928c98c9f84dfbb96.tar.gz
users-4277f5ba9487c44be01afad928c98c9f84dfbb96.tar.bz2
users-4277f5ba9487c44be01afad928c98c9f84dfbb96.zip
add metaNoIndex on not found
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 8280745..602955f 100644
--- a/index.php
+++ b/index.php
@@ -97,7 +97,8 @@ if( !empty( $_REQUEST['home'] ) ) {
$gBitSmarty->assign( 'pageCssId', 'userhomepage' );
$centerDisplay = ( count( $gCenterPieces ) ? 'bitpackage:kernel/dynamic.tpl' : 'bitpackage:users/center_user_wiki_page.tpl' );
} else {
- $gBitSystem->fatalError( tra( "Page not found." ) , NULL, NULL, HttpStatusCodes::HTTP_NOT_FOUND );
+ $gBitSmarty->assign( 'metaNoIndex', TRUE );
+ $gBitSystem->fatalError( tra( "Page not found." ), NULL, NULL, HttpStatusCodes::HTTP_NOT_FOUND );
}
} else {
$gBitSystem->verifyPermission( 'p_users_view_user_list' );