mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-20 13:55:58 +00:00
Replaced $HTTP_GET_VARS (deprecated) by $_GET in updates.php
Monotone-Parent: 6b701660e1b1301f2a55944ee5d70d4e92f44cd9 Monotone-Revision: 78c904fcb43f31b69c25bf38ddb9ef55499ed4e0 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-10-02T20:29:51 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
/* This script handles the automatic propagation of extensions pertaining to a
|
||||
SOGo site */
|
||||
SOGo site. It requires PHP 4.1.0 or later. */
|
||||
$plugins
|
||||
= array( "sogo-connector@inverse.ca"
|
||||
=> array( "application" => "thunderbird",
|
||||
@@ -45,12 +45,12 @@ $applications
|
||||
<em:minVersion>1.5</em:minVersion>
|
||||
<em:maxVersion>2.0.*</em:maxVersion>" );
|
||||
|
||||
$pluginname = $HTTP_GET_VARS["plugin"];
|
||||
$pluginname = $_GET["plugin"];
|
||||
$plugin =& $plugins[$pluginname];
|
||||
$application =& $applications[$plugin["application"]];
|
||||
|
||||
if ( $plugin ) {
|
||||
$platform = $HTTP_GET_VARS["platform"];
|
||||
$platform = $_GET["platform"];
|
||||
if ( $platform
|
||||
&& file_exists( $platform . "/" . $plugin["filename"] ) ) {
|
||||
$plugin["filename"] = $platform . "/" . $plugin["filename"];
|
||||
|
||||
Reference in New Issue
Block a user