source: extensions/set_plugins/admin.php @ 14201

Revision 11484, 315 bytes checked in by cljosse, 9 years ago (diff)

[extensions] set_plugins fix bugs

Line 
1<?php
2// Chech whether we are indeed included by Piwigo.
3
4if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
5    if (PHPWG_VERSION < 2.3 ) 
6$redirect_url = get_root_url().'admin.php?page='.'plugins_list';
7    else
8 $redirect_url = get_root_url().'admin.php?page='.'plugins';
9  redirect($redirect_url);       
10?>
Note: See TracBrowser for help on using the repository browser.