aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/admin_multi_view/main.inc.php
blob: 99dbd722b5f8ecfb18493d9296ec2c30146aac72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php /*
Plugin Name: Multi view
Version: 1.8
Description: Allows administrators to view gallery as guests and/or change the language and/or theme on the fly. Practical to debug changes ...
Plugin URI: http://www.phpwebgallery.net
Author: PhpWebGallery team
Author URI: http://www.phpwebgallery.net
*/

add_event_handler('user_init', 'multiview_user_init' );

function multiview_user_init()
{
  if (!is_admin())
    return;
  include_once( dirname(__FILE__).'/is_admin.inc.php' );
}

?>