How to change path to configuration.php correctly? - Joomla! Forum - community, help and support
hi!
i changed place configuration.php because of security reason describted:
i moved configuration.php outside of public_html folder "test".
i modifyed /includes/defines.php , /administrator/includes/defines.php files constant:
define( 'jpath_configuration', jpath_root );
to file 1 level , folder named "test":
define( 'jpath_configuration', jpath_root.ds.'..'.ds.'test' );
now changed absolute paths in these both virtuemart files:
- /administrator/components/com_virtuemart/virtuemart.cfg.php
- /administrator/components/com_virtuemart/virtuemart.cfg-dist.php
e.g.
/../../../configuration.php -> /../../../../test/configuration.php
but in frontend product thumbnails disappear.
what's going wrong?
thanks replay!
best wishes,
alex
i changed place configuration.php because of security reason describted:
i moved configuration.php outside of public_html folder "test".
i modifyed /includes/defines.php , /administrator/includes/defines.php files constant:
define( 'jpath_configuration', jpath_root );
to file 1 level , folder named "test":
define( 'jpath_configuration', jpath_root.ds.'..'.ds.'test' );
now changed absolute paths in these both virtuemart files:
- /administrator/components/com_virtuemart/virtuemart.cfg.php
- /administrator/components/com_virtuemart/virtuemart.cfg-dist.php
e.g.
/../../../configuration.php -> /../../../../test/configuration.php
but in frontend product thumbnails disappear.
what's going wrong?
thanks replay!
best wishes,
alex
Comments
Post a Comment