[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/skins_adm/ -> conf_error.main.php (source)

   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;
  37  ?>


Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics