Import miscellaneous fixes from XE 1.11.6

This commit is contained in:
Kijin Sung 2019-11-22 20:58:56 +09:00
parent cb3bf4aace
commit 2dd78849cf
3 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@ class addonAdminModel extends addon
// Wanted to add a list of activated
$inserted_addons = $this->getInsertedAddons($site_srl, $gtype);
// Downloaded and installed add-on to the list of Wanted
$searched_list = FileHandler::readDir('./addons', '/^([a-zA-Z0-9-_]+)$/');
$searched_list = FileHandler::readDir('./addons', '/^([a-zA-Z0-9_]+)$/');
$searched_count = count($searched_list);
if(!$searched_count)
{

View file

@ -53,7 +53,7 @@
<tr>
<th scope="row">{$lang->content}</th>
<td class="text">{$oOrigin->content}</td>
<td class="text">{$oOrigin->content|noescape}</td>
</tr>
</table>

View file

@ -38,7 +38,7 @@ class widgetView extends widget
function dispWidgetSkinInfo()
{
$widget = Context::get('selected_widget');
$skin = Context::get('skin');
$skin = preg_replace('/[^a-zA-Z0-9-_]/', '', Context::get('skin'));
$path = sprintf('./widgets/%s/', $widget);
// Wanted widget is selected information