mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-06 07:36:24 +00:00
Build the updateLink dynamically from SCRIPT_URI
This commit is contained in:
@@ -75,7 +75,7 @@ if ( $plugin ) {
|
||||
<em:version><?php echo $plugin["version"] ?></em:version>
|
||||
<em:targetApplication>
|
||||
<Description><?php echo $applications[$plugin["application"]] ?>
|
||||
<em:updateLink>http://inverse.ca/downloads/extensions/<?php echo $plugin["filename"] ?></em:updateLink>
|
||||
<em:updateLink><?php echo dirname(getenv('SCRIPT_URI')) . '/' . $plugin["filename"] ?></em:updateLink>
|
||||
</Description>
|
||||
</em:targetApplication>
|
||||
</Description>
|
||||
|
||||
Reference in New Issue
Block a user