Subversion Repositories Applications.framework

Rev

Rev 248 | Rev 253 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 248 Rev 250
Line 303... Line 303...
303
	 *
303
	 *
304
	 * @throws Zend_Cache_Exception
304
	 * @throws Zend_Cache_Exception
305
	 * @return int integer between 0 and 100
305
	 * @return int integer between 0 and 100
306
	 */
306
	 */
307
	public function getPourcentageRemplissage() {
307
	public function getPourcentageRemplissage() {
308
		$libre = disk_free_space($this->options['sotckage_chemin']);
308
		$libre = disk_free_space($this->options['stockage_chemin']);
309
		$total = disk_total_space($this->options['sotckage_chemin']);
309
		$total = disk_total_space($this->options['stockage_chemin']);
Line 310... Line 310...
310
		
310
		
311
		$pourcentage = 0;
311
		$pourcentage = 0;
312
		if ($total == 0) {
312
		if ($total == 0) {
313
			trigger_error("Impossible d'utiliser la fonction disk_total_space", E_USER_WARNING);
313
			trigger_error("Impossible d'utiliser la fonction disk_total_space", E_USER_WARNING);