[ PHPXref.com ] [ Generated: Sun Jul 20 17:05:41 2008 ] [ Coppermine 1.4.5 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> config.php (source)

   1  <?php
   2  /*************************

   3    Coppermine Photo Gallery

   4    ************************

   5    Copyright (c) 2003-2006 Coppermine Dev Team

   6    v1.1 originally written by Gregory DEMAR

   7  

   8    This program is free software; you can redistribute it and/or modify

   9    it under the terms of the GNU General Public License as published by

  10    the Free Software Foundation; either version 2 of the License, or

  11    (at your option) any later version.

  12    ********************************************

  13    Coppermine version: 1.4.5

  14    $Source: /cvsroot/coppermine/stable/config.php,v $

  15    $Revision: 1.17 $

  16    $Author: gaugau $

  17    $Date: 2006/04/09 10:36:52 $

  18  **********************************************/
  19  
  20  define('IN_COPPERMINE', true);
  21  require ('include/init.inc.php');
  22  if (!GALLERY_ADMIN_MODE) cpg_die(ERROR, $lang_errors['access_denied'], __FILE__, __LINE__);
  23  
  24  
  25  $redirect = "admin.php";
  26  $message = <<< EOT
  27  You are trying to access Coppermine's <a href="admin.php">config page</a> using an outdated link - the file config.php has been renamed to admin.php. You probably updated your site and haven't changed your theme as suggested in the <a href="docs/theme/">theme upgrade guide</a>.<br />
  28  You are now being redirected to the actual page you were looking for.
  29  EOT;
  30  pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"100;url=$redirect\" />");
  31  msg_box($lang_info, $message, $lang_continue, $redirect);
  32  pagefooter();
  33  ob_end_flush();
  34  ?>


[ Powered by PHPXref - Served by Debian GNU/Linux ]