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 /* |
---|
2 | Plugin Name: Multi view |
---|
3 | Version: 1.0 |
---|
4 | Description: Allows administrators to view gallery as guests and/or change the language and/or theme on the fly. Practical to debug changes ... |
---|
5 | Plugin URI: http://www.phpwebgallery.net |
---|
6 | Author: PhpWebGallery team |
---|
7 | Author URI: http://www.phpwebgallery.net |
---|
8 | */ |
---|
9 | |
---|
10 | add_event_handler('user_init', 'multiview_user_init' ); |
---|
11 | |
---|
12 | function 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.