mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
30 lines
947 B
PHP
30 lines
947 B
PHP
<?php
|
|
// +-----------------------------------------------------------------------+
|
|
// | This file is part of Piwigo. |
|
|
// | |
|
|
// | For copyright and license information, please view the COPYING.txt |
|
|
// | file that was distributed with this source code. |
|
|
// +-----------------------------------------------------------------------+
|
|
|
|
if( !defined("PHPWG_ROOT_PATH") )
|
|
{
|
|
die ("Hacking attempt!");
|
|
}
|
|
|
|
include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
|
|
|
|
$my_base_url = get_root_url().'admin.php?page=updates';
|
|
|
|
if (isset($_GET['tab']))
|
|
$page['tab'] = $_GET['tab'];
|
|
else
|
|
$page['tab'] = 'pwg';
|
|
|
|
$tabsheet = new tabsheet();
|
|
$tabsheet->set_id('updates');
|
|
$tabsheet->select($page['tab']);
|
|
$tabsheet->assign();
|
|
|
|
include(PHPWG_ROOT_PATH.'admin/updates_'.$page['tab'].'.php');
|
|
|
|
?>
|