PHP Classes

error in unlink

Recommend this page to a friend!

      Really Simple Content Cache  >  All threads  >  error in unlink  >  (Un) Subscribe thread alerts  
Subject:error in unlink
Summary:the clear method concatinates twice
Messages:1
Author:adi
Date:2010-06-15 05:34:35
 

  1. error in unlink   Reply   Report abuse  
Picture of adi adi - 2010-06-15 05:34:36
function clear($id = false){
/**
* based on the ID of the cache, get the path to the cache
*/
//$this->get_path_to_file($id); //by commenting this line it will work properly
return unlink($this->path_to_file);
}