source:
extensions/set_plugins/admin.php
@
15824
Last change on this file since 15824 was 11484, checked in by , 13 years ago | |
---|---|
File size: 315 bytes |
Line | |
---|---|
1 | <?php |
2 | // Chech whether we are indeed included by Piwigo. |
3 | |
4 | if (!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.