Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Plugin Name: Psli-BingMaps |
---|
4 | Author: psli |
---|
5 | */ |
---|
6 | |
---|
7 | // Chech whether we are indeed included by Piwigo. |
---|
8 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
9 | |
---|
10 | // Use global variable |
---|
11 | global $prefixeTable; |
---|
12 | |
---|
13 | // Define |
---|
14 | define('PSLI_MAPS_TABLE' , $prefixeTable . 'psli_maps'); |
---|
15 | define('PSLI_ENTITIES_TABLE' , $prefixeTable . 'psli_entities'); |
---|
16 | define('PSLI_ENTITIES_MAPS_TABLE' , $prefixeTable . 'psli_entities_maps'); |
---|
17 | define('PSLI_DATAPOINT_TABLE' , $prefixeTable . 'psli_datapoint'); |
---|
18 | define('PSLI_CONF_KEY', 'PsliBingMapsKey'); |
---|
19 | define('PSLI_CONF_PATH', 'PsliBingMapsPath'); |
---|
20 | define('PSLI_CONF_VERSION_MAJ', 'PsliBingMapsVerMaj'); |
---|
21 | define('PSLI_CONF_VERSION_MIN', 'PsliBingMapsVerMin'); |
---|
22 | define('PSLI_VERSION_MAJ', 2); |
---|
23 | define('PSLI_VERSION_MIN', 0); |
---|
24 | |
---|
25 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.