source: extensions/FacebookPlug/Plugin/include/constants.inc.php @ 8375

Last change on this file since 8375 was 8375, checked in by rub, 13 years ago

Rename language files: plugin.lang.php => admin.config.lang.php
Add constants for Facebook URL
Add promote on footer
Add promote on about page (available for Piwigo 2.2)
Add promote on admin config page
Superscripted help tips on admin config page

  • Property svn:eol-style set to LF
File size: 2.0 KB
Line 
1<?php
2// +-----------------------------------------------------------------------+
3// | FacebookPlug - a Piwigo Plugin                                        |
4// | Copyright (C) 2010 Ruben ARNAUD - rub@piwigo.org                      |
5// +-----------------------------------------------------------------------+
6// | This program is free software; you can redistribute it and/or modify  |
7// | it under the terms of the GNU General Public License as published by  |
8// | the Free Software Foundation                                          |
9// |                                                                       |
10// | This program is distributed in the hope that it will be useful, but   |
11// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
12// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
13// | General Public License for more details.                              |
14// |                                                                       |
15// | You should have received a copy of the GNU General Public License     |
16// | along with this program; if not, write to the Free Software           |
17// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
18// | USA.                                                                  |
19// +-----------------------------------------------------------------------+
20
21if (!defined('PHPWG_ROOT_PATH'))
22{
23  die('Hacking attempt!');
24}
25
26define('FACEBOOK_APP_ID', '111499825588662');
27define('FACEBOOK_URL', 'http://www.facebook.com');
28define('FACEBOOK_PIWIGO_GROUP_URL', FACEBOOK_URL.'/Piwigo');
29define('FACEBOOK_PIWIGO_RUB_URL', FACEBOOK_URL.'/ruben.arnaud');
30define('FACEBOOK_PIWIGO_APPLICATION_URL', FACEBOOK_URL.'/apps/application.php?id='.FACEBOOK_APP_ID);
31define('FACEBOOK_DEV_URL', 'http://developers.facebook.com');
32define('FACEBOOK_DOC_PLUGINS_URL', FACEBOOK_DEV_URL.'/docs/reference/plugins');
33
34define('FBP_DIR', dirname(dirname(__FILE__)));
35define('FBP_PATH' , PHPWG_PLUGINS_PATH.basename(FBP_DIR));
36define('FBP_IP_FB', '66.220.');
37
38?>
Note: See TracBrowser for help on using the repository browser.