Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't delete erp session cache #15

Open
alfredbez opened this issue Apr 2, 2019 · 1 comment
Open

don't delete erp session cache #15

alfredbez opened this issue Apr 2, 2019 · 1 comment

Comments

@alfredbez
Copy link
Contributor

We should prevent to delete files like oxeec_erp_c_fieldnames_*.txt, see this related bug https://bugs.oxid-esales.com/view.php?id=6223#c12834

@BattleMoench
Copy link

in CacheClearCommand->_clearDirectory() we could change in_array() with preg_filter() result could be:

if (!empty(preg_filter($aKeep,$aKeep,$sFileName))) { [...]

with arguments

$this->_clearDirectory($sTmpDir, array('/.htaccess/', '/smarty/','/oxeec_erp_c_fieldnames/'));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants