blob: 16f3e7410bdf5a1ac0ff0fe10ed457b8599f51e2 (
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.0
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' );
}
?>
|