Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/webroot/services/install.php
diff options
context:
space:
mode:
authorDavid Farning <dfarning@gmail.com>2009-03-21 05:54:57 (GMT)
committer David Farning <dfarning@gmail.com>2009-03-21 05:54:57 (GMT)
commitb6607b36b4fe5be82297abaea88e120de7c1ce44 (patch)
treea44f7ca03ac5524024c98343c7ef517038d4f870 /site/app/webroot/services/install.php
parent1fb3c4ae563e9ede7cdc6cdb6b4292773703c14d (diff)
parent32c281e71ab055ed2ad44b44e5863cf9779a621d (diff)
merge with snvdevel
Diffstat (limited to 'site/app/webroot/services/install.php')
-rw-r--r--site/app/webroot/services/install.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/site/app/webroot/services/install.php b/site/app/webroot/services/install.php
index 251b790..ba70ab4 100644
--- a/site/app/webroot/services/install.php
+++ b/site/app/webroot/services/install.php
@@ -60,6 +60,7 @@
*/
define('REGEX_MOZILLA', '/^https?:\/\/[^\/]*\.?mozilla\.(com|org)\/?.*/');
define('REGEX_LOCALHOST', '/https?:\/\/[^\/]*\.?localhost.*/');
+define('REGEX_PERSONAS', '/https?:\/\/[^\/]*\.?getpersonas\.com\/?.*/');
// If an add-on's referrers property is set, defaults will not be used unless specified
$default_referrers = array('document.referrer.match('.REGEX_MOZILLA.')',
@@ -140,8 +141,17 @@ $addons = array(
/* Other */
'personas' => array(
'name' => 'Personas for Firefox',
- 'xpi' => 'https://labs.mozilla.com/projects/personas/xpi/personas-latest.xpi',
- 'icon' => 'http://labs.mozilla.com/projects/personas/images/personas_32x32.png'
+ 'xpi' => 'https://addons.mozilla.org/en-US/firefox/downloads/latest/10900',
+ 'icon' => 'https://addons.mozilla.org/en-US/firefox/images/addon_icon/10900/1236031798',
+ 'referrers' => array_merge($default_referrers, array(
+ 'document.referrer.match('.REGEX_PERSONAS.')'
+ ))
+ ),
+
+ 'weave' => array(
+ 'name' => 'Weave',
+ 'xpi' => 'https://addons.mozilla.org/en-US/firefox/downloads/latest/10868',
+ 'icon' => 'https://addons.mozilla.org/en-US/firefox/images/addon_icon/10868/1236131155'
)
);