b2evolution PHP Cross Reference Blogging Systems

Source: /skins/_410_stats_gone.main.php - 27 lines - 864 bytes - Text - Print

Description: This page displays an error message when we have detected access to the stats.

   1  <?php
   2  /**
   3   * This page displays an error message when we have detected access to the stats.
   4   *
   5   * @package evocore
   6   */
   7  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
   8  
   9  // Note: if you have a really really good reason to bypass this, uncomment the following line:
  10  // return;
  11  
  12  header_http_response('410 Gone');
  13  header('Content-Type: text/html; charset=iso-8859-1'); // no translation
  14  ?>
  15  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  16  <html xmlns="http://www.w3.org/1999/xhtml">
  17      <head>
  18          <title>410 Gone</title>
  19      </head>
  20      <body>
  21          <h1>410 Gone</h1>
  22          <p><?php echo $app_name ?> does no longer publish referer statistics publicly in order not to attract spam robots.</p>
  23      </body>
  24  </html>
  25  <?php
  26      exit(0);        // Note: this is NOT a crash. There should be no dying here!
  27  ?>

title

Description

title

Description

title

Description

title

title

Body