Rev | Line | |
---|
[14872] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | Plugin Name: Psli-BingMaps |
---|
| 4 | Author: psli |
---|
| 5 | Description: Define for use by "Psli-Bing Maps" Plugin |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | // Chech whether we are indeed included by Piwigo. |
---|
| 9 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
| 10 | |
---|
| 11 | // Use global variable |
---|
| 12 | global $prefixeTable; |
---|
| 13 | |
---|
| 14 | // Define to use Debug Mode |
---|
| 15 | //if (!defined('PSLI-DEBUG')) define('PSLI-DEBUG', TRUE); |
---|
| 16 | |
---|
| 17 | // Define |
---|
| 18 | define('PSLI_BINGMAPS_DIRECTORY', dirname(__FILE__).'/../'); |
---|
| 19 | define('PSLI_ENTITIES_TABLE' , $prefixeTable . 'psli_entities'); |
---|
| 20 | define('PSLI_DATAPOINT_TABLE' , $prefixeTable . 'psli_datapoint'); |
---|
| 21 | define('PSLI_CONF_KEY', 'PsliBingMapsKey'); |
---|
| 22 | define('PSLI_CONF_LAT', 'PsliBingMapsLat'); |
---|
| 23 | define('PSLI_CONF_LON', 'PsliBingMapsLon'); |
---|
| 24 | define('PSLI_CONF_ZOOM', 'PsliBingMapsZoom'); |
---|
| 25 | define('PSLI_CONF_CATEGORY', 'PsliBingMapsCategoryInitiale'); |
---|
| 26 | define('PSLI_CONF_VERSION_MAJ', 'PsliBingMapsVerMaj'); |
---|
| 27 | define('PSLI_CONF_VERSION_MIN', 'PsliBingMapsVerMin'); |
---|
| 28 | define('PSLI_VERSION_MAJ', 1); |
---|
| 29 | define('PSLI_VERSION_MIN', 1); |
---|
| 30 | |
---|
| 31 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.