2008-04-04 22:57:23 +00:00
|
|
|
<?php
|
|
|
|
// +-----------------------------------------------------------------------+
|
|
|
|
// | Piwigo - a PHP based picture gallery |
|
|
|
|
// +-----------------------------------------------------------------------+
|
2010-03-19 22:37:10 +00:00
|
|
|
// | Copyright(C) 2008-2010 Piwigo Team http://piwigo.org |
|
2008-05-15 18:43:33 +00:00
|
|
|
// | Copyright(C) 2003-2008 Piwigo team http://phpwebgallery.net |
|
2008-04-04 22:57:23 +00:00
|
|
|
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
|
|
|
// +-----------------------------------------------------------------------+
|
|
|
|
// | This program is free software; you can redistribute it and/or modify |
|
|
|
|
// | it under the terms of the GNU General Public License as published by |
|
|
|
|
// | the Free Software Foundation |
|
|
|
|
// | |
|
|
|
|
// | This program is distributed in the hope that it will be useful, but |
|
|
|
|
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
|
|
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
|
|
|
// | General Public License for more details. |
|
|
|
|
// | |
|
|
|
|
// | You should have received a copy of the GNU General Public License |
|
|
|
|
// | along with this program; if not, write to the Free Software |
|
|
|
|
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
|
|
|
// | USA. |
|
2009-01-06 21:39:04 +00:00
|
|
|
// +-----------------------------------------------------------------------+
|
|
|
|
|
|
|
|
/*
|
|
|
|
Plugin Name: Check upgrades
|
2009-05-06 13:37:22 +00:00
|
|
|
Version: 2.0.2
|
2009-08-01 13:04:22 +00:00
|
|
|
Description: Check integrity of upgrades.
|
2009-05-06 13:37:22 +00:00
|
|
|
Plugin URI: http://piwigo.org/ext/extension_view.php?eid=287
|
2009-01-06 21:39:04 +00:00
|
|
|
Author: Piwigo team
|
|
|
|
Author URI: http://piwigo.org
|
|
|
|
*/
|
|
|
|
|
|
|
|
if (!defined('PHPWG_ROOT_PATH'))
|
|
|
|
{
|
|
|
|
die('Hacking attempt!');
|
|
|
|
}
|
|
|
|
|
|
|
|
if (in_array(script_basename(), array('popuphelp', 'admin')))
|
|
|
|
{
|
|
|
|
if (defined('IN_ADMIN') and IN_ADMIN)
|
|
|
|
{
|
|
|
|
include_once(dirname(__FILE__).'/initialize.inc.php');
|
|
|
|
}
|
|
|
|
}
|
2008-04-16 20:09:23 +00:00
|
|
|
|
2009-01-06 21:39:04 +00:00
|
|
|
?>
|