Changeset 525

Show
Ignore:
Timestamp:
07/20/08 22:08:04 (2 months ago)
Author:
thierry
Message:

fusion des modifs depuis trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • com_asradius/branches/BL-1.3.0.0/asradius.class.php

    r521 r525  
    254254 
    255255function link_check() 
     256    /** 
     257     * SE : Retourne vrai si une MAJ du composant existe. 
     258     * SI : 
     259     */ 
    256260{ 
    257261global $confManager; 
    258262 
    259 $url = "http://www.bazzanella.org/download/"; 
    260 $url .= "com_asradius-".$confManager->_config->version.$confManager->_config->phase."_wireless-fr.org.zip"; 
    261  
    262  
     263$url = $confManager->_config->majurl; 
     264$url .= "/com_asradius-".$confManager->_config->version.$confManager->_config->phase."_wireless-fr.org.zip"; 
    263265$url = @parse_url($url); 
    264266 
     
    267269        return false; 
    268270    } 
    269  
    270271    $url = array_map('trim', $url); 
    271272    $url['port'] = (!isset($url['port'])) ? 80 : (int)$url['port']; 
    272273    $path = (isset($url['path'])) ? $url['path'] : ''; 
    273  
    274274    if ($path == '') 
    275275    { 
    276276        $path = '/'; 
    277277    } 
    278  
    279278    $path .= (isset($url['query'])) ? "?$url[query]" : ''; 
    280  
    281279    if (isset($url['host']) AND $url['host'] != @gethostbyname($url['host'])) 
    282280    { 
     
    288286        { 
    289287            $fp = @fsockopen($url['host'], $url['port'], $errno, $errstr, 30); 
    290  
    291288            if (!$fp) 
    292289            { 
     
    302299    return false; 
    303300} 
     301 
    304302/** Fin de Classe utilitaire Tools 
    305303 */ 
  • com_asradius/branches/BL-1.3.0.0/asradius.config.php

    r521 r525  
    6464var $allowModeSendEmail = "0"; 
    6565var $scriptPathDisconnect = "/usr/local/www/apache22/sites/exec/deconnect"; 
     66var $majurl = "http://www.bazzanella.org/download"; 
    6667} 
    6768?> 
  • com_asradius/branches/BL-1.3.0.0/changelog.txt

    r521 r525  
    4343Le composant est maintenant capable de conserver sa configuration lors 
    4444d'une ré-installation. 
    45  
    4645Le paramétrage du script de déconnexion s'effectue dans la configuration avancée 
    4746du composant. 
    48  
    4947Ajout d'un bouton d'en About pour vérifier si il existe des mises à jour disponibles 
    5048pour le composant. 
     49Le paramétrage de l'URL du serveur de MAJ s'effectue dans le fichier de configuration 
    5150_________________________________________________________________________ 
    525112 juillet 2008 
  • com_asradius/branches/BL-1.3.0.0/install.txt

    r504 r525  
    66Delete compoment 
    77Install a new version of component 
    8 Change the advanced configuration of the composant 
     8 
     9 
     10 
     11 
    912 
    1013NOTE OF DEVELOPMENT : If you need to update the database :