Changeset 525
- Timestamp:
- 07/20/08 22:08:04 (2 months ago)
- Files:
-
- com_asradius/branches/BL-1.3.0.0/asradius.class.php (modified) (4 diffs)
- com_asradius/branches/BL-1.3.0.0/asradius.config.php (modified) (1 diff)
- com_asradius/branches/BL-1.3.0.0/changelog.txt (modified) (1 diff)
- com_asradius/branches/BL-1.3.0.0/install.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
com_asradius/branches/BL-1.3.0.0/asradius.class.php
r521 r525 254 254 255 255 function link_check() 256 /** 257 * SE : Retourne vrai si une MAJ du composant existe. 258 * SI : 259 */ 256 260 { 257 261 global $confManager; 258 262 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"; 263 265 $url = @parse_url($url); 264 266 … … 267 269 return false; 268 270 } 269 270 271 $url = array_map('trim', $url); 271 272 $url['port'] = (!isset($url['port'])) ? 80 : (int)$url['port']; 272 273 $path = (isset($url['path'])) ? $url['path'] : ''; 273 274 274 if ($path == '') 275 275 { 276 276 $path = '/'; 277 277 } 278 279 278 $path .= (isset($url['query'])) ? "?$url[query]" : ''; 280 281 279 if (isset($url['host']) AND $url['host'] != @gethostbyname($url['host'])) 282 280 { … … 288 286 { 289 287 $fp = @fsockopen($url['host'], $url['port'], $errno, $errstr, 30); 290 291 288 if (!$fp) 292 289 { … … 302 299 return false; 303 300 } 301 304 302 /** Fin de Classe utilitaire Tools 305 303 */ com_asradius/branches/BL-1.3.0.0/asradius.config.php
r521 r525 64 64 var $allowModeSendEmail = "0"; 65 65 var $scriptPathDisconnect = "/usr/local/www/apache22/sites/exec/deconnect"; 66 var $majurl = "http://www.bazzanella.org/download"; 66 67 } 67 68 ?> com_asradius/branches/BL-1.3.0.0/changelog.txt
r521 r525 43 43 Le composant est maintenant capable de conserver sa configuration lors 44 44 d'une ré-installation. 45 46 45 Le paramétrage du script de déconnexion s'effectue dans la configuration avancée 47 46 du composant. 48 49 47 Ajout d'un bouton d'en About pour vérifier si il existe des mises à jour disponibles 50 48 pour le composant. 49 Le paramétrage de l'URL du serveur de MAJ s'effectue dans le fichier de configuration 51 50 _________________________________________________________________________ 52 51 12 juillet 2008 com_asradius/branches/BL-1.3.0.0/install.txt
r504 r525 6 6 Delete compoment 7 7 Install a new version of component 8 Change the advanced configuration of the composant 8 9 10 11 9 12 10 13 NOTE OF DEVELOPMENT : If you need to update the database :
