View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007111 | OXID eShop (all versions) | 4.08. Cache | public | 2020-04-02 16:56 | 2020-05-13 09:15 |
Reporter | QA | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 6.2.0 | ||||
Fixed in Version | 6.2.1 | ||||
Summary | 0007111: Path of file container_cache.php is always default tmp directory (hardcoded) | ||||
Description | In the config.inc.php file you can define a custom path for your temporary directory. Default is source/tmp. $this->sCompileDir = '/var/www/oxideshop/source/tmp'; Unfortunately the path to the file container_cache.php is always the default path since it's hardcoded to your source directory + 'tmp'. See in code: OxidEsales\EshopCommunity\Internal\Transition\Utility\BasicContext public function getContainerCacheFilePath(): string { return Path::join($this->getSourcePath(), 'tmp', 'container_cache.php'); } Function getConfigParam('sCompileDir') should be used instead. | ||||
Additional Information | If you did not delete the default tmp directory, the eShop works by using this directory for the one file. Anyway, it does not look correctly. [sp] | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||