Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Version: 1.1 |
---|
4 | Plugin Name: Psli-BingMaps |
---|
5 | Plugin URI: http://piwigo.org/ext/extension_view.php?eid=603 |
---|
6 | Author: psli |
---|
7 | Description: Extension to piwigo for use of bing maps to navigate in geolocalized album |
---|
8 | |
---|
9 | ----------------------------------------------------------------------------------------- |
---|
10 | 1.1 2012-05-08 Ajout de l'internationalisation et de l'anglais |
---|
11 | ----------------------------------------------------------------------------------------- |
---|
12 | 1.0 2012-05-07 Verison initiale |
---|
13 | ----------------------------------------------------------------------------------------- |
---|
14 | */ |
---|
15 | // Chech whether we are indeed included by Piwigo. |
---|
16 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
17 | |
---|
18 | // Include define data |
---|
19 | include_once(dirname(__FILE__).'/include/const.inc.php'); |
---|
20 | |
---|
21 | // Check plugin update |
---|
22 | include_once(PSLI_BINGMAPS_DIRECTORY.'include/version.inc.php'); |
---|
23 | |
---|
24 | // Plugin for admin |
---|
25 | if (script_basename() == 'admin') |
---|
26 | { |
---|
27 | include_once(PSLI_BINGMAPS_DIRECTORY.'include/admin.inc.php'); |
---|
28 | } |
---|
29 | else |
---|
30 | { |
---|
31 | include_once(PSLI_BINGMAPS_DIRECTORY.'include/guest.inc.php'); |
---|
32 | } |
---|
33 | |
---|
34 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.