From: <ara...@us...> - 2007-05-23 21:05:17
|
Revision: 160 http://svn.sourceforge.net/easybox-mod/?rev=160&view=rev Author: aragornis Date: 2007-05-23 14:05:15 -0700 (Wed, 23 May 2007) Log Message: ----------- - compatibilit?\195?\169 avec les v3/v4 non d?\195?\169group?\195?\169s (les images du net r?\195?\169apparaissent ^^) -> v4.1.2 Modified Paths: -------------- trunk/_framework/framework.php trunk/_framework/lib/lib_photo.php trunk/_utilisateur/modules.db trunk/version.html Modified: trunk/_framework/framework.php =================================================================== --- trunk/_framework/framework.php 2007-05-23 15:01:43 UTC (rev 159) +++ trunk/_framework/framework.php 2007-05-23 21:05:15 UTC (rev 160) @@ -9,8 +9,12 @@ $vers_fbx = $_SERVER["HTTP_USER_AGENT"]; $ereg = 'freebox\/[0-9]\.[0-9]\.[0-9] \(hw:([0-9]).0;'; - preg_match("/$ereg/s", $vers_fbx, $val_vers); - $vers_fbx = $val_vers[1]; + if(preg_match("/$ereg/s", $vers_fbx, $val_vers)){ + $vers_fbx = $val_vers[1]; + }else{ + $vers_fbx = 4; + } + unset($val_vers); //-- Chargement du r\xE9pertoire du framework Modified: trunk/_framework/lib/lib_photo.php =================================================================== --- trunk/_framework/lib/lib_photo.php 2007-05-23 15:01:43 UTC (rev 159) +++ trunk/_framework/lib/lib_photo.php 2007-05-23 21:05:15 UTC (rev 160) @@ -66,7 +66,7 @@ if(preg_match("/$ereg/s", $vers_fbx, $val_vers)){ $this->fbx = $val_vers[1]; }else{ - $this->fbx = 5; + $this->fbx = 4; } // Change le format d'exportation selon la version de la freebox Modified: trunk/_utilisateur/modules.db =================================================================== (Binary files differ) Modified: trunk/version.html =================================================================== --- trunk/version.html 2007-05-23 15:01:43 UTC (rev 159) +++ trunk/version.html 2007-05-23 21:05:15 UTC (rev 160) @@ -4,6 +4,6 @@ </head> <body> <h1>Easybox</h1> -<h2>4.1.1</h2> +<h2>4.1.2</h2> </body> </html> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |