Closed dodget closed 4 years ago
This PR resolves an issue where media urls where expected to be the same as base_url during the slug change of a book. It does so by:
base_url
media_url
system/application/config/config.php
$media_url
system/application/models/book_model.php
$old
$new
$base_url
This PR is based off of scalar v2.5.12, and I am happy to merge in the latest updates from master if requested.
Thanks @dodget !
This PR resolves an issue where media urls where expected to be the same as
base_url
during the slug change of a book. It does so by:media_url
environment variable tosystem/application/config/config.php
$media_url
variable to media slug update insystem/application/models/book_model.php
that checks ifmedia_url
is set, otherwise usebase_url
$old
and$new
variables to use$base_url
and updating db rewrites accordingly insystem/application/models/book_model.php
This PR is based off of scalar v2.5.12, and I am happy to merge in the latest updates from master if requested.