source: trunk/plugins/admin_multi_view/main.inc.php @ 2240

Last change on this file since 2240 was 1912, checked in by rub, 17 years ago

Update svn properties (svn:eol-style and svn:keywords)

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 487 bytes
Line 
1<?php /*
2Plugin Name: Multi view
3Version: 1.0
4Description: Allows administrators to view gallery as guests and/or change the language and/or theme on the fly. Practical to debug changes ...
5Plugin URI: http://www.phpwebgallery.net
6Author: PhpWebGallery team
7Author URI: http://www.phpwebgallery.net
8*/
9
10add_event_handler('user_init', 'multiview_user_init' );
11
12function multiview_user_init()
13{
14  if (!is_admin())
15    return;
16  include_once( dirname(__FILE__).'/is_admin.inc.php' );
17}
18
19?>
Note: See TracBrowser for help on using the repository browser.