Skip to content
Snippets Groups Projects
Commit e8188911 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

hide security check image if everything is alright

parent 7441e340
No related branches found
No related tags found
No related merge requests found
......@@ -1443,7 +1443,8 @@ function html_admin(){
// @todo: could be checked and only displayed if $conf['savedir'] is under the web root
echo '<a style="border:none; float:right;" target="_blank"
href="http://www.dokuwiki.org/security#web_access_security">
<img src="data/security.png" alt="Broken image? Everything\'s alright!" /></a>';
<img src="data/security.png" alt="Your data directory seems to be protected properly."
onerror="this.parentNode.style.display=\'none\'" /></a>';
print p_locale_xhtml('admin');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment