MyBB Community Forums

Full Version: The following errors were encountered
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
forum - 1.6.4
themes - mynic
The following errors were encountered:
A potential security issue was found in the template. Please review your changes or contact the MyBB Group for support.


header_welcomeblock_member_admin

<a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php">{$lang->welcome_admin}</a> <img src="images/mynic/admin.png" style="vertical-align:middle;" alt="Admin" />

я русский)
fix fix fix?

The new code must be this (I think):
<a href="{$mybb->settings['#']}/{$admin_dir}/index.php">{$lang->welcome_admin}</a> <img src="images/mynic/admin.png" style="vertical-align:middle;" alt="Admin" /> 

There is not problem to fix but it is recommended to change the code.
Replace the {$mybb->settings['#']} with {$mybb->settings['bburl']}. I've seen this code used several times and whoever has been using it in themes clearly hasn't been thinking straight.
(2011-08-27, 06:36 PM)Sama34 Wrote: [ -> ]The new code must be this (I think):
<a href="{$mybb->settings['#']}/{$admin_dir}/index.php">{$lang->welcome_admin}</a> <img src="images/mynic/admin.png" style="vertical-align:middle;" alt="Admin" /> 

There is not problem to fix but it is recommended to change the code.

This option has helped. (Этот вариант помог)
thanks. (Спасибо)