aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/language_switch/main.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/language_switch/main.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/language_switch/main.inc.php b/plugins/language_switch/main.inc.php
index 8be206563..82eb5dc2e 100644
--- a/plugins/language_switch/main.inc.php
+++ b/plugins/language_switch/main.inc.php
@@ -1,7 +1,7 @@
<?php /*
Plugin Name: Language Switch
Version: 1.0
-Description: Give you an advice on the administration page.
+Description: Switch to another language from flags on your gallery home page.
Plugin URI: http://www.phpwebgallery.net
Author: PhpWebGallery team
Author URI: http://www.phpwebgallery.net
@@ -30,7 +30,7 @@ Author URI: http://www.phpwebgallery.net
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
// | USA. |
// +-----------------------------------------------------------------------+
-add_event_handler('loading_lang', 'language_switch' );
include_once(PHPWG_PLUGINS_PATH.'language_switch/language_switch.inc.php');
+add_event_handler('loading_lang', 'language_switch' );
add_event_handler('loc_end_index', 'Lang_flags' );
?> \ No newline at end of file