Last change
on this file since 11277 was
11249,
checked in by cljosse, 13 years ago
|
[extensions] set_plugins compatiblity with 2.3
|
File size:
365 bytes
|
Line | |
---|
1 | <?php |
---|
2 | // Chech whether we are indeed included by Piwigo. |
---|
3 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
4 | |
---|
5 | // Fetch the template. |
---|
6 | global $template; |
---|
7 | // |
---|
8 | |
---|
9 | if (PHPWG_VERSION < 2.3 ) |
---|
10 | $redirect_url = get_root_url().'admin.php?page='.'plugins_list'; |
---|
11 | else |
---|
12 | $redirect_url = get_root_url().'admin.php?page='.'plugins'; |
---|
13 | redirect($redirect_url); |
---|
14 | |
---|
15 | |
---|
16 | |
---|
17 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.