43cca4b191
Added a security check on the sidebar.blade.php that tests if critical config components are accessible externally by anyone. This is a fairly crude method and not at all optimized. I might change this in future revisions. At least this feature is disabled for normal users, so it won't affect load for non admins. This is the same code from the new diagnostic tool added in the previous commit. I had to change the names of each variable, otherwise the diagnostic tool could not use the same variables. The smart thing to do here would probably be to simply use the variables only in the sidebar, since they are loaded anyway since the sidebar layout is included on the diagnostic tool, effectively loading the variables twice. I might change this later, but for now I will leave it as. Read more about the diagnostic tool on the blog here: https://blog.littlelink-custom.com/new-security-check-tool/ |
||
---|---|---|
.. | ||
app.blade.php | ||
footer.blade.php | ||
guest.blade.php | ||
sidebar.blade.php |