Task #29340
closed
Check usage of hash_base.
Added by Björn Pedersen over 12 years ago.
Updated over 5 years ago.
Description
While checking the use of hash_base in class.tslibfe.php, I found the $this->hash_base is only used in to set $this->config['hash_base'] in generatePage_preProcessing (with a comment that it is used for caching informational purposes). But a grep revealed no further usage of either var's. So maybe that could get deprecated and removed in the future.
[9:14] webmaster@wwwtest % pwd
/home/webmaster/frm2/typo3_src_git
[9:14] webmaster@wwwtest % find . -name \*.php -print0 | xargs -0 grep hash_base
./typo3/sysext/cms/tslib/class.tslib_fe.php: var $hash_base=''; // Loaded with the serialized array that is used for generating a hashstring for the cache
./typo3/sysext/cms/tslib/class.tslib_fe.php: * @return string MD5 hash of $this->hash_base which is a serialized version of there variables.
./typo3/sysext/cms/tslib/class.tslib_fe.php: $this->hash_base = serialize(
./typo3/sysext/cms/tslib/class.tslib_fe.php: return md5($this->hash_base);
./typo3/sysext/cms/tslib/class.tslib_fe.php: $this->config['hash_base'] = $this->hash_base; // For cache management informational purposes.
- Target version deleted (
4.7.0)
- Status changed from New to Resolved
- Status changed from Resolved to Closed
Also available in: Atom
PDF