| 
| Subject: | i`ve added class constructor:... | 
|---|
 | Summary: | Package rating comment | 
|---|
 | Messages: | 1 | 
|---|
 | Author: | cpu1 | 
|---|
 | Date: | 2009-10-24 20:53:14 | 
|---|
 |  |  |  | 
cpu1 rated this package as follows:
| Utility: | Sufficient | 
|---|
| Consistency: | Sufficient | 
|---|
|  | 
  cpu1 - 2009-10-24 20:53:14i`ve added class constructor:
 function Cacher ($name) {
 if (!is_dir ($this -> cacheDir . $name)){
 mkdir ($this -> cacheDir . $name, 0777);
 }
 $this -> cacheDir  = $this -> cacheDir . $name . '/';
 }
 
 and replaced " var $cacheDir = "/tmp/"; " into " var $cacheDir = "tmp/"; "
 |