Workaround buggy mime_content_type on php 5.2.0+etch10 (not tested on other version).
[platal.git] / classes / xnet.php
index 58d1375..bc30b17 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2007 Polytechnique.org                              *
+ *  Copyright (C) 2003-2008 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -53,8 +53,8 @@ class Xnet extends Platal
         $link = str_replace('%grp', $globals->asso('diminutif'), parent::near_hook());
         if ($link != $this->path) {
             return $link;
-        }   
-        return null; 
+        }
+        return null;
     }
 
     protected function find_hook()