Hello, I have a trouble in trying to update my integrator that worked before though ... In my case, the integrator settles well with its latest version ditto for the connector. lightning 2.6.3 will not install automatically ... instead it installs an older version of me and makes lightning for thunderbird reboot continuously update ...! My xpi in my / updates are all day ... I do not know where it will take this old version of the agenda ...
Ideas? I enclose my updates.php

thx



$plugins
= array(
        "[email protected]"
         => array( "application" => "thunderbird",
                   "version" => "24.0.2",
                   "filename" => "connector.xpi" ),
        "[email protected]"
         => array( "application" => "thunderbird",
                   "version" => "24.0.3",
                   "filename" => "integrator.xpi" ),
    "{e2fda1a4-762b-4020-b5ad-a41df1933103}"
    => array( "application" => "thunderbird",
           "version" => "2.6.3",
           "filename" => "lightning.xpi" )
);

$applications
= array( "thunderbird" => "<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
                <em:minVersion>24.2.0</em:minVersion>
                <em:maxVersion>24.*</em:maxVersion>" );

$pluginname = $_GET["plugin"];
$plugin =& $plugins[$pluginname];
$application =& $applications[$plugin["application"]];

if ( $plugin ) {
  $platform = $_GET["platform"];
  if ( $platform
       && file_exists( $platform . "/" . $plugin["filename"] ) ) {
    $plugin["filename"] = $platform . "/" . $plugin["filename"];
  }
  elseif ( !file_exists( $plugin["filename"] ) ) {
    $plugin = false;
  }
}

if ( $plugin ) {
  header("Content-type: text/xml; charset=utf-8");
  echo ('<?xml version="1.0"?>' . "\n");
?>
<!DOCTYPE RDF>
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
  xmlns:em="http://www.mozilla.org/2004/em-rdf#";>
  <Description about="urn:mozilla:extension:<?php echo $pluginname ?>">
    <em:updates>
      <Seq>
        <li>
          <Description>
            <em:version><?php echo $plugin["version"] ?></em:version>
            <em:targetApplication>
<Description><?php echo $applications[$plugin["application"]] ?> <em:updateLink>https://sogo.xxxx.fr/plugins/<?php echo dirname(getenv('SCRIPT_URI')) . '/' . $plugin["filename"] ?></em:updateLink>
          </Description>
            </em:targetApplication>
          </Description>
        </li>
      </Seq>
    </em:updates>
  </Description>
</RDF>
<?php
} else {
  header("Content-type: text/plain; charset=utf-8", true, 404);
  echo( 'Plugin not found' );
}
?>
--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to