source: extensions/set_plugins/admin.php @ 30756

Last change on this file since 30756 was 11484, checked in by cljosse, 13 years ago

[extensions] set_plugins fix bugs

File size: 315 bytes
RevLine 
[11072]1<?php
2// Chech whether we are indeed included by Piwigo.
[11484]3
[11072]4if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
[11249]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';
[11102]9  redirect($redirect_url);       
[11072]10?>
Note: See TracBrowser for help on using the repository browser.