source: extensions/set_plugins/admin.php

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

[extensions] set_plugins fix bugs

File size: 315 bytes
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.