[SPIP] ~2.1.12 -->2.1.25
[velocampus/web/www.git] / www / ecrire / plugins / get_infos.php
index 90df70a..9a62c8d 100644 (file)
@@ -3,7 +3,7 @@
 /***************************************************************************\
  *  SPIP, Systeme de publication pour l'internet                           *
  *                                                                         *
- *  Copyright (c) 2001-2011                                                *
+ *  Copyright (c) 2001-2014                                                *
  *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
  *                                                                         *
  *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
@@ -41,7 +41,7 @@ function plugins_get_infos_dist($plug, $force_reload=false, $dir_plugins = _DIR_
        $desc = "$dir_plugins$plug/$filename";
        if (!file_exists($desc))
                return false;
-       $time = intval(@filemtime($desc));
+       $time = intval(filemtime($desc));
 
        if (!$force_reload
        AND ($time > 0)