mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Change plugins versions to 1.8 Change 3 plugins URI. git-svn-id: http://piwigo.org/svn/trunk@2243 68402e56-0260-453c-a942-63ccdbb3a9ee
20 lines
487 B
PHP
20 lines
487 B
PHP
<?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' );
|
|
}
|
|
|
|
?>
|