In OpenCart, for more security of site files, the directory
storage can be taken out of bounds site root directory... This is to ensure that the directory cannot be accessed via HTTP.
This transfer can be done in two ways:
storagelocated in root directory of the site.
storageprovided by the CMS... In this regard, there may be additional conditions for its correct operation.
For automatic catalog transfer
storage do the following:
storageoutside the site directory. To move the directory, click “Move»:
storageoutside the root directory of the site, do the following:
define('DIR_STORAGE', DIR_SYSTEM . 'storage/');
To the next one:
define('DIR_STORAGE', '/home/user/example.com/' . 'storage/');
user indicate the name hostingaccountand instead of
example.com - the name of the main domain without subdomains.