Rename all the datas to data

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2512 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2016-02-21 19:21:29 +00:00
parent 82f6f96c2e
commit c283362d05
15 changed files with 92 additions and 85 deletions

View File

@@ -49,20 +49,20 @@ class cacheoutput
ob_start ();
$this->saving = true;
// The datas are sent automatically
// The data are sent automatically
}
/** End of saving the datas in cache */
/** End of saving the data in cache */
public function __destruct ()
{
// Force the path because it return to / in the destructor
chdir ($this->cacheCWD);
if ($this->saving === true)
{
// Do the saving of the datas
$datas = array ("content"=>ob_get_contents (),
// Do the saving of the data
$data = array ("content"=>ob_get_contents (),
"headers"=>headers_list ());
$this->cache->write ($this->id, $datas, $this->ttl);
$this->cache->write ($this->id, $data, $this->ttl);
}
}
}