]> BookStack Code Mirror - bookstack/commit
Fixed attachment base-url usage and non-existant images
authorDan Brown <redacted>
Sat, 12 Nov 2016 12:41:34 +0000 (12:41 +0000)
committerDan Brown <redacted>
Sat, 12 Nov 2016 12:41:34 +0000 (12:41 +0000)
commit672b15d36c5c27f74b5044b438f3a5ba3b7c7f65
tree5e9e12956010e41bbe66ebc7561436ea2290392d
parentac80723058ab4c86e6bf024e0c75b60ab6c59624
Fixed attachment base-url usage and non-existant images

Images now self-delete if the original file does not exist.
Prevents simply getting non-fixable errors.

Also cleaned some JS.
app/Repos/ImageRepo.php
app/Repos/PageRepo.php
resources/assets/js/controllers.js
resources/assets/js/global.js
resources/assets/js/pages/page-form.js
Morty Proxy This is a proxified and sanitized view of the page, visit original site.