Subversion Repositories Applications.projet

Compare Revisions

Ignore whitespace Rev 201 → Rev 202

/trunk/classes/fichier.class.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: fichier.class.php,v 1.5 2005-10-04 10:13:33 alexandre_tb Exp $
// CVS : $Id: fichier.class.php,v 1.6 2007-04-19 09:25:50 alexandre_tb Exp $
/**
* Application projet
*
31,7 → 31,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.5 $
*@version $Revision: 1.6 $
// +------------------------------------------------------------------------------------------------------+
*/
 
189,8 → 189,8
* @access public
*/
function isRepertoire( )
{
return is_dir ($this->_chemin) ;
{ $isRep = is_dir ($this->_chemin) ;
return $isRep ;
} // end of member function isRepertoire
 
 
218,7 → 218,7
if ($this->isRepertoire()) {
return $this->_tailleRepertoire($this->_chemin) ;
}
return filesize ($this->_chemin) ;
return @filesize ($this->_chemin) ;
} // end of member function getTaille
 
/**
258,7 → 258,7
$taille += $this->_tailleRepertoire ($rep.$value."/") ;
} else {
if ($value != '..' && $value != '.') $taille += filesize ($rep.$value) ;
if ($value != '..' && $value != '.') $taille += @filesize ($rep.$value) ;
}
}
return $taille ;