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

title

Body

[close]

/ -> relocate_server.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/relocate_server.php,v $

  15    $Revision: 1.3 $

  16    $Author: gaugau $

  17    $Date: 2006/04/09 10:35:15 $

  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 = "index.php";
  26  $message = <<< EOT
  27  You are trying to access a file that has been removed from the coppermine package for security reasons (details can be read on the Coppermine support board announcement thread "<a href="http://coppermine-gallery.net/forum/index.php?topic=24217.0" rel="external" class="external">Remove relocate_server.php file from your website</a>").<br />
  28  You are now being redirected to your gallery's start page.
  29  EOT;
  30  pageheader($lang_info, "<meta http-equiv=\"refresh\" content=\"120;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 ]