b2evolution PHP Cross Reference Blogging Systems

Source: /skins_adm/conf_error.main.php - 37 lines - 1400 bytes - Summary - Text - Print

Description: This page displays an error message if the config is not done yet.

   1  <?php
   2  /**
   3   * This page displays an error message if the config is not done yet.
   4   *
   5   * VERY IMPORTANT: this file should assume AS LITTLE AS POSSIBLE
   6   * on what configuration is already done or not
   7   *
   8   * Before calling this page, you must set:
   9   * - $error_message
  10   *
  11   * @package evocore
  12   */
  13  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14  
  15  global $app_name;
  16  global $app_version;
  17  
  18  @header('Content-Type: text/html; charset=iso-8859-1');
  19  ?>
  20  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  21  <html xmlns="http://www.w3.org/1999/xhtml">
  22      <head>
  23          <title><?php echo $app_name ?> is not configured yet</title>
  24      </head>
  25  <body>
  26      <div style="background-color:#fee; border: 1px solid red; text-align:center; ">
  27          <p>This is <?php echo $app_name ?> version <?php echo $app_version ?>.</p>
  28          <p><strong>You cannot use the application before you finish configuration and installation.</strong></p>
  29          <div style="font-weight:bold; color:red;"><?php echo $error_message; ?></div>
  30          <p>Please use the installer to finish your configuration/installation now.</p>
  31          <p>On most installations, the installer will probably be either <a href="install/index.php">here</a> or <a href="../install/index.php">here</a>... (but I can't be sure since I have no config info available! :P)</p>
  32      </div>
  33  </body>
  34  </html>
  35  <?php
  36       exit(0);
  37  ?>

title

Description

title

Description

title

Description

title

title

Body